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

--- Comment #2 from Kyle M Hall <[email protected]> ---
Created attachment 132117
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132117&action=edit
Bug 30344: Changing a patron from a category that allows guarantees to one that
doesn't should remove that link

If an adult type patron is changed to a child type patron, it hides the
patron's guarantees, but does not remove that link.
We should be removing that link as we do when a guarantee becomes an adult type
patron.

Test Plan:
1) Create an adult with a guarantor
2) Turn that adult into a child patron tyupe
3) Note the guarantees show on the patron details, but not in the patron
   editor
4) Turn that patron back into an adult
5) Note the guarantees how again in the editor
6) Apply this patch
7) Restart all the things!
8) Turn that patron back into a child again
9) Note the guarantees no longer show on the patron details
10) Turn that patron back into an adult
11) Note the patron still has no guarantees

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to