[Koha-bugs] [Bug 32772] New: Patron autocomplete should not use contains on all fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 31 20:58:48 CET 2023


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

            Bug ID: 32772
           Summary: Patron autocomplete should not use contains on all
                    fields
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Staff interface
          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

Bug 31782 added all default patron search fields to the autocomplete, and made
them all use 'contains'

This makes searching in large systems difficult

Previous behaviour:
Every library has a unique starting cardnumber sequence, but it can repeat in
later numbers
Library A types "3A" to find their patrons only, but autocomplete now returns
all of library B patrons with cards ending in 3A


Other issue:
Library has a large number of patrons with surnames 'Williams' and
'Fitzwilliams'
Type 'Williams' into the search, only see Fitzwilliams

I think we should default to 'Starts with' which allows the use of '%' at the
start to make it a contains, rather than force contains which we don't have a
way to limit.

Otherwise, we need to support '^' for starts with

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