[Koha-bugs] [Bug 33117] Patron checkout search not working if searching with second surname

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 9 18:11:35 CET 2023


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

--- Comment #4 from Laura Escamilla <Laura.escamilla at bywatersolutions.com> ---
Created attachment 148018
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148018&action=edit
Bug 33117: Added new syspref Patronautocompletesesarchmethod

Added a new system preference called "PatronAutoCompleteSearchMethod"
which allows staff to choose between "Starts with" or "Contains" when
searching for patrons. The "Contains" option should be useful when
searching for patrons that have multiple surnames or when searching
using a patron's middle name.

Test Plan:
1. Create a patron that has a first name, middle name and two surnames. (i.e.
Adela Maria, Hernandez Acosta).
2. Search for the patron using their first name and first surname. Confirm that
a record is found.
3. Search for the patron using their first name and second surname. Confirm
that no record is found.
4. Search for the patron using their middle name and first surname. Confirm
that a record is found.
5. Search for the patron using their middle name and second surname. Confirm
that no record is found.
6. Apply the patch.
7. Under Administration > Global System Preferences > search for
“PatronAutocompleteSearchMethod”
8. Choose “Contains” instead of “Starts with” for the system preference.
9. Repeat steps 2-4. The patron record should appear for all search methods.
10. Sign off!

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


More information about the Koha-bugs mailing list