Bug 31611: Clearly highlight biblios that cannot be deleted in the Batch record delet...
authorAlex Buckley <alexbuckley@catalyst.net.nz>
Thu, 22 Sep 2022 23:16:22 +0000 (11:16 +1200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 10 Mar 2023 14:47:19 +0000 (11:47 -0300)
commitb9123af286cd7f6ba11b1aeecd62c00f6d6523ed
tree295946c973ec02614beec5d3a8a33cfd1189df6f
parentc004913b524ac37608c218f519389d890392da3b
Bug 31611: Clearly highlight biblios that cannot be deleted in the Batch record deletion tool

Test plan:
1. Apply patch
2. Check out an item
3. Go to: 'Cataloguing' > 'Batch record deletion'
4. Into the 'Enter a list of record numbers' area paste in the
biblionumber belonging to the checked-out item and that of a biblio without checked out items
5. Submit the form
6. Observe the row of the biblio with checked-out items is highlighted yellow, with a
red cross in the first column
7. Hover over the red cross to see the reason why the biblio cannot be
deleted
8. Observe the row of the biblio without checked-out items is not
highlighted yellow, and does have a checkbox in the first column
9. Click 'Delete selected records'
10. Confirm the biblio without checked-out items is successfully deleted

Sponsored-by: Toi Ohomai Institute of Technology, New Zealand
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt