[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 Apr 6 12:01:34 CEST 2015


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

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

--- Comment #15 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 37522
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37522&action=edit
[PASSED QA] Bug 13822 - Patron autocomplete search is severly limited

The script that returns data for the patron autocomplete does not use
C4::Members::Search. Instead it uses bespoke code that does not behave like the
traditional search and is very limited in how it can search.

If, for example, I search for "Kyle Hall" in the standard search, I would get
"Kyle Hall" back as a result. For the autocomplete search, I will not.

This script should use C4::Members::Search to provide better searching and to
keep the code base DRY.

Test Plan:
1) Enable the system preference CircAutocompl
2) Create a user with the first name "Test" and the surname "User"
3) Perform a checkout autocomplete search for "Test User"
4) Note you do not get the user as a result
5) Apply this patch
6) Try different combinations of "Test" and "User" such as
   Test User
   User Test
   U Test
   Test U
   etc.
7) Note these searches now work

Works as expected.
Signed-off-by: Marc Véron <veron at veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

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


More information about the Koha-bugs mailing list