[Koha-bugs] [Bug 13458] Add new patron shows default / hardcoded patron categories after search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 26 10:37:02 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13458

--- Comment #2 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 34680
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34680&action=edit
Bug 13458: Display the correct patron categories

Bug 9811 removes useful code.
Actually the AddPatronLists pref is not sent to the template from
members/member.pl.

To fix this issue, we can use the existing not clean way, or compare the
syspref value directly in the template. This second solution is
implemented in this patch.

Test plan:
1/ Set the AddPatronLists pref to 'specific'
2/ On the patron home page (members/members-home/pl), the patron search
result page (members/member.pl after launching a search) and on the
checkouts page/patron search result (circ/circulation.pl after searching
a patron using the check out), verify that the patron category list is
the specific ones.
3/ Test there are no regression with the AddPatronLists pref set to
'general'.

-- 
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