[Koha-bugs] [Bug 16504] All borrower attribute values for a given code deleted if that attribute has branch limits

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 16 08:08:53 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16504

Srdjan Jankovic <srdjan at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #51470|0                           |1
        is obsolete|                            |

--- Comment #4 from Srdjan Jankovic <srdjan at catalyst.net.nz> ---
Created attachment 51509
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51509&action=edit
[SIGNED-OFF] Bug 16504: (follow-up for bug 15163) Do not remove attributes of
other patrons

Simple patch for a silly error, this single line is going to fix a
critical bug.
If a patron attribute is limited to a library, all the values for that
attributes
for every patrons will be deleted.

Test plan:
Create a patron attribute limited to a library
Set the the attribute for a patron
Set the the attribute for another patron
=> Without this patch applied, the attribute's value for the first
patron is deleted
=> With this patch applied, the 2 values exist in the DB after the
second edition

Signed-off-by: Srdjan <srdjan at catalyst.net.nz>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list