Bug 40416 - Library filter in patron search not filtering correctly
Summary: Library filter in patron search not filtering correctly
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: 24.11
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-16 15:55 UTC by David Roberts
Modified: 2025-07-16 15:55 UTC (History)
1 user (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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%"'