[Koha-bugs] [Bug 12132] Show guarantees in staff patron details too
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Oct 27 12:19:12 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12132
Frédéric Demians <frederic at tamil.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #28294|0 |1
is obsolete| |
Attachment #28475|0 |1
is obsolete| |
--- Comment #11 from Frédéric Demians <frederic at tamil.fr> ---
Created attachment 32787
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32787&action=edit
[SIGNED-OFF] Bug 12132: display guarantees if a patron has them, regardless of
category type
If a patron has guarantees, always display them on the patron summary,
even if the patron is of a type that ordinarily would have them.
For example, at present you can cannot directly add a guarantee to
a staff record the way you can do for an adult patron, but if you create
a juvenile patron and add a guarantor to it, you can override that
restriction. Note that this patch ignores whether that is strictly
desirable behavior.
To test:
[1] Create a juvenile patron. While editing it, make a staff
account a guarantor of the new patron.
[2] View patron details for the staff account. Note that the
juvenile patron is not displayed as a guarantee.
[3] Apply this patch.
[4] Refresh details for the staff account. The juvenile should
now show up.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
Signed-off-by: Frederic Demians <f.demians at tamil.fr>
Galen patch works as described. The way it's implemented seems sensible.
Whatever the reason why a patron has guarantes, it make sense to display
them. So it's better to check the count of guarantes rather than the
current patron type to decide to display guarantes.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list