Bug 16015: Restore the ability to delete a group of libraries
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 9 Mar 2016 12:21:14 +0000 (12:21 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Mon, 21 Mar 2016 17:19:44 +0000 (17:19 +0000)
commit99f2feeed94cb88bb14653231735f35c0787cb27
tree74c62253b44fbf75e85c63d7e0343e30713cbc89
parent7aedcf643e6f7793b4ebf55b1c7cdec7ec04a25d
Bug 16015: Restore the ability to delete a group of libraries

If a group of libraries is linked to at least 1 library, the group
cannot be delete and the librarian should get a warning message.
But if no libraries are linked, the deletion should be allowed.
Since bug 15294 this behavior is broken: The deletion is always blocked:
"This library category cannot be deleted. 0 libraries are still using
it", hum...

Test plan:
Create a group of libraries, delete it

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
admin/branches.pl