Koha-clms/members
Jonathan Druart 0d904b655e Bug 15163: Do not erase patron attributes if limited to another library
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
(cherry picked from commit 4a3404594f)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
2016-03-23 07:38:54 +01:00
..
boraccount.pl 15623 - Spelling mistake in boraccount.pl Test - Search for writen, if not found fix is correct 2016-01-29 16:02:00 +01:00
default_messageprefs.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
deletemem.pl Bug 14544: Get rid of GetSomeShelfNames 2015-11-05 09:58:02 -03:00
discharge.pl Bug 15353: Display the patron image where needed 2016-01-29 12:11:52 +01:00
discharges.pl Bug 8007: Discharge management 2015-04-30 12:33:56 -03:00
files.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
guarantor_search.pl Bug 15109: Make name the default sort order for all patron searches 2015-11-17 09:49:21 -03:00
mancredit.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
maninvoice.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
member-flags.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
member-password.pl Bug 15542 [QA Followup] - Tidy member-password.pl 2016-01-25 13:04:46 +01:00
member.pl Bug 7380: Rename filter to avoid confusion 2015-05-19 10:10:31 -03:00
memberentry.pl Bug 15619: Spelling mistake in memberentry.pl 2016-01-29 15:59:49 +01:00
members-home.pl Bug 12525: FIX patron lists dropdown is empty 2015-09-07 11:49:03 -03:00
members-update-do.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
members-update.pl Bug 10904: (QA followup) Use branch limit if either IndependentBranches or IndependentBranchesPatronModifications is enabled 2015-11-02 12:34:46 -03:00
mod_debarment.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
moremember.pl Bug 12920: Remove AllowRenewalLimitOverride from pl scripts and tt files 2016-03-07 14:18:16 +01:00
nl-search.pl Bug 15163: Do not erase patron attributes if limited to another library 2016-03-23 07:38:54 +01:00
notices.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
patronimage.pl Bug 14566: Fix permissions in patronimage.pl 2015-08-24 10:29:49 -03:00
pay.pl Bug 15746: Same fix for "write off" 2016-02-26 15:46:01 +01:00
paycollect.pl Bug 16054: Fix variable scope error in paycollect.pl 2016-03-17 08:53:28 +01:00
print_overdues.pl Bug 12933: (QA followup) Rename GetOverdues to GetOverduesForPatron 2015-11-04 12:41:29 -03:00
printfeercpt.pl Bug 15622 - Spelling mistake in printfeercpt.pl writen -> written 2016-02-26 16:40:44 +01:00
printinvoice.pl Bug 15621: Spelling mistake in printinvice.pl 2016-01-29 16:01:58 +01:00
printslip.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
purchase-suggestions.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
readingrec.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
routing-lists.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
setstatus.pl Bug 14910: Redirect to the circulation module after a renew 2015-10-02 14:22:16 -03:00
statistics.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
summary-print.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
update-child.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00