Bug 22989

Summary: Independent branches should not show duplicate patron from another library
Product: Koha Reporter: Radek Šiman (R-Bit Technology, s.r.o.) <rbit>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: black23, gmcharlt, josef.moravec, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Radek Šiman (R-Bit Technology, s.r.o.) 2019-05-26 20:13:30 UTC
Steps to reproduce:
1) set independent branches and create two branches FOO and BAR
2) create a patron John Doe in FOO, save him
3) login as non-super librarian into BAR
3) create a patron John Doe in BAR, try to save him
4) yellow message box "Duplicate patron record?" 
5) click on "view existing record"
6) a window pops-up displaying patron data from FOO library, but this is incorrect for independent branches (it breaks GDPR rules), because only John Doe from the same library can be offered to view.