Bug 18135: Show alert if no authorities selected in batch record deletion
authorAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 16 Feb 2017 22:19:59 +0000 (22:19 +0000)
committerKatrin Fischer <katrin.fischer.83@web.de>
Tue, 14 Mar 2017 16:27:09 +0000 (17:27 +0100)
commite817334a06ae8acdc2118525618d0e3010dd06d3
tree65ba98b927fb76e7ffcc8bd513121ffc10b12572
parent3dedc5e4ba1b749e6a8582248bc04a731e01853e
Bug 18135: Show alert if no authorities selected in batch record deletion

To test:
1) Go to Tools -> Batch record deletion
2) Select Authorities as record type, put in an auth id, click Continue
3) Unselect the authorities and click Delete selected records
4) Confirm an alert shows up
5) Clear the alert and confirm deleting the authority still works as
normal

Sponsored-by: Catalyst IT

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 7a5f17ff6ecbec3a7f73fa54b900dae909996b29)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt