[Koha-bugs] [Bug 34067] New: Patron attributes search handles 'starts with'/contains incorrectly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 20 15:46:02 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34067
Bug ID: 34067
Summary: Patron attributes search handles 'starts
with'/contains incorrectly
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Patrons
Assignee: koha-bugs at lists.koha-community.org
Reporter: nick at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
The search we currently form is:
"extended_attributes.value": { "like": "%" + pattern + (search_type ==
"contain" ? "%" : "" )},
Which defaults to an 'ends with' search
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list