[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 18:08:05 CEST 2023


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

Sam Lau <samalau at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #152485|0                           |1
        is obsolete|                            |

--- Comment #2 from Sam Lau <samalau at gmail.com> ---
Created attachment 152491
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152491&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!

Signed-off-by: Sam Lau <samalau at gmail.com>

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