https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16504 Bug ID: 16504 Summary: All borrower attribute values for a given code deleted if that attribute has branch limits Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: critical Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: jweaver@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, jonathan.druart@bugs.koha-community.org, kyle.m.hall@gmail.com Bug 15163 introduced a regression for branch-limited patron attributes; when modifying a patron attribute with branch limits, all of the values for that attribute for every patron will be deleted due to a predecence mistake: WHERE b_branchcode = ? OR b_branchcode IS NULL AND borrowernumber = ? is parsed as: WHERE b_branchcode = ? OR (b_branchcode IS NULL AND borrowernumber = ?) -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.