[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.04-80-g0d904b6
Git repo owner
gitmaster at git.koha-community.org
Wed Mar 23 07:32:16 CET 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, 3.22.x has been updated
via 0d904b655e65f70476c5d7daf355cc7c3cf0976b (commit)
from f9b25894dd9095f130f8139ae63a5d955759ea5a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0d904b655e65f70476c5d7daf355cc7c3cf0976b
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Mon Feb 22 10:08:55 2016 +0000
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 at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Brendan Gallagher brendan at bywatersolutions.com
(cherry picked from commit 4a3404594ff326e0babb8b7bee8e65f5646ff9f9)
Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Auth_with_ldap.pm | 2 +-
C4/Members/Attributes.pm | 39 +++++++++++++++--
members/nl-search.pl | 2 +-
t/db_dependent/Members_Attributes.t | 79 +++++++++++++++++++++++------------
tools/import_borrowers.pl | 2 +-
5 files changed, 92 insertions(+), 32 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list