Bug 40416

Summary: Library filter in patron search not filtering correctly
Product: Koha Reporter: David Roberts <david.roberts>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt
Version: 24.11   
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 David Roberts 2025-07-16 15:55:01 UTC
On the cgi-bin/koha/members/members-home.pl page:

If a system has two branches with similar codes, for example RH and WRH, if you search for patrons at RH library, you also get results from WRH. 

Ideally, the search should be performing 'branchcode = "RH"', not 'branchcode LIKE "%RH%"'