Bug 39228 - Patron search not correctly limited by branch if branch codes contain overlapping letters within branchcode
Summary: Patron search not correctly limited by branch if branch codes contain overlap...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-03 15:46 UTC by hebah
Modified: 2025-03-03 16:10 UTC (History)
3 users (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 hebah 2025-03-03 15:46:18 UTC
TO recreate:
Have at least two branches in the site where the code of one branch appears within the code of another (BOOK and BOOKMOBILE work, or MAIN and a branchcode of AI or IN).
Have at least a patron of each category to see results easily.
Run a patron search for all patrons of BOOK branch. See that results include both patrons of BOOK and BOOKMOBILE.
It appears that the branchcode is being searched as a 'contains' search, perhaps, instead of exact match on branchcode.