Bug 15496: Delete Bib After Moving Item
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 12 Apr 2019 17:50:32 +0000 (13:50 -0400)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 26 Apr 2019 11:53:53 +0000 (11:53 +0000)
commit21127d4a47bbebb74d44d32d5b51dac4bc470ce6
tree33fba1c16aae42e4db7f955ddeced36cf651bbec
parent443c2fafb7be74aa74282eb4dee7ad5f3d827f31
Bug 15496: Delete Bib After Moving Item

Librarians have requested the ability to delete records with no items
quickly and easily from the "Attach item" results page as items are
moved from one record to another.

Test Plan:
1) Apply this patch
2) Create 2 records with 2 items each
3) Move one item from record A to record B
4) You should see no change from pre-patch behavior
5) Move the second item from record A to record B
6) You should now see a "Delete record" button
7) Click the button
8) Note the record in question has been deleted

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Biblio.pm
cataloguing/moveitem.pl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt