[Koha-bugs] [Bug 34067] 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:50:20 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34067

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 152485
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152485&action=edit
Bug 34067: Correct patron attributes 'starts with' search

To test:
1 - Add a new searchable patron attribute type:
    Koha->Adminsitration->Patron attribute types
2 - Edit a patron and add a value 'alphabeta' for the attribute
3 - Go to 'Patrons', cick the settings icon in search and confirm search type
is 'starts with'
4 - Type 'alpha' in the search bar, enter
5 - No patron found, wrong
6 - Type 'beta' in search bar, enter
7 - Patron found, wrong
8 - Apply patch
9 - Search for 'alpha', it finds the patron!
10 - Search for 'beta', patron not found
11 - Change search type to 'contains'
12 - Search for 'beta'
13 - Patron found!

-- 
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