[Koha-bugs] [Bug 13822] Patron autocomplete search is severly limited

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 23 17:46:11 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13822

--- Comment #7 from Marc Véron <veron at veron.ch> ---
I did a short test with following line:

my ($results) = Search( $term, $order_by, [ 10 ],'','','start_with' );

This way, the search would be more restricted.

To do a 'contains' search, the user can still use the wildcard character %

'Test' would give
Testmann, Fritz
Tester, Hans

'Hans' would give
Meier, Hans
Müller, Hansli


'%est' would give
Hatfield, Lester 
Testman, Fritz
Tester, Hans
West, Mae

My proposition is to have the 'start_with' version and change the explanation
from:
Enter patron card number or partial name:
to something like:
Enter first digits/letters of patron card number or name. Prepend % for inline
search.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list