[Koha-bugs] [Bug 16091] Can not delete branch category not used by any library

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 17 17:17:55 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16091

Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #49269|0                           |1
        is obsolete|                            |

--- Comment #2 from Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> ---
Created attachment 49279
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=49279&action=edit
[SIGNED-OFF]Bug 16091: Can not delete branch category not used by any library

Test plan

Without patch:
- Go to  Home > Administration > Libraries and groups
- Create a new group (make sure that you give it a Category code, see Bug
16047)
- Do not assign any library to this group
- Try to delete the group
Result:
"This library category cannot be deleted. 0 libraries are still using it."

With patch:
- Try to delete the group
Result OK: Confirmation dialog for deletion.
- Try to delete a group that is assigned to a library
Result OK: "This library category cannot be deleted. 1 libraries are still
using it."

Signed-off-by: Hector Castro <hector.hecaxmmx at gmail.com>
Works as advertised

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list