Jonathan Druart
4a3404594f
The patron attributes displayed on editing a patron are not displayed if limited to another library. C4::Members::Attributes::SetBorrowerAttributes will now only delete attributes the librarian is editing. SetBorrowerAttributes takes a new $no_branch_limit parameter. If set, the branch limitations have not effect and all attributes are deleted (same behavior as before this patch). Test plan: 1/ Create 2 patron attributes, without branch limitations. 2/ Edit a patron and set a value for these attributes 3/ Limit a patron attributes to a library (one you are not logged in with). 4/ Edit again the patron. => You should not see the limited attributes 5/ Edit the patron attributes and remove the branch limitation => Without this patch, it has been removed from the database and is not displayed anymore. => With this patch, you should see it. Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com |
||
---|---|---|
.. | ||
boraccount.pl | ||
default_messageprefs.pl | ||
deletemem.pl | ||
discharge.pl | ||
discharges.pl | ||
files.pl | ||
guarantor_search.pl | ||
mancredit.pl | ||
maninvoice.pl | ||
member-flags.pl | ||
member-password.pl | ||
member.pl | ||
memberentry.pl | ||
members-home.pl | ||
members-update-do.pl | ||
members-update.pl | ||
mod_debarment.pl | ||
moremember.pl | ||
nl-search.pl | ||
notices.pl | ||
patronimage.pl | ||
pay.pl | ||
paycollect.pl | ||
print_overdues.pl | ||
printfeercpt.pl | ||
printinvoice.pl | ||
printslip.pl | ||
purchase-suggestions.pl | ||
readingrec.pl | ||
routing-lists.pl | ||
setstatus.pl | ||
statistics.pl | ||
summary-print.pl | ||
update-child.pl |