Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences
Laura Escamilla e5e9f2c203
Bug 33117: Adding new PatronAutoCompleteSearchMethod system preference
This patch adds 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.

New Test Plan:
 0. Ensure system preference PatronAutoComplete is set to Try
 1. Create a patron that has a first name, middle name and two surnames.
    (i.e. Adela Maria, Hernandez Acosta).
 2. In patron or checkout search, enter their first name and first
    surname without submitting.
 3. Confirm that a record is found in the autocomplete results
 4. In patron or checkout search, enter their first name and second
    surname without submitting.
 5. Confirm that no record is found.
 6. Enter their middle name and first surname. Confirm that no record is
    found.
 7. Enter their middle name and second surname. Confirm that no record
    is found.
 8. Apply the patch, update database
 9. Under Administration > Global System Preferences > search for
    "PatronAutocompleteSearchMethod"
10. Choose "Contains" instead of "Starts with" for the system
    preference, reload your search page
11. Repeat steps 2-4. The patron record should appear for all search
    methods.
12. Sign off!

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 7b675997b4)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2023-07-17 14:44:22 +01:00
..
accounting.pref
acquisitions.pref Bug 8179: Receive multiple orders 2023-05-15 08:53:47 -03:00
admin.pref Bug 32355: Add css class url to URL syspref 2022-12-13 08:43:24 -03:00
authorities.pref Bug 33557: Add LinkerConsiderThesaurus system preference 2023-05-10 15:26:26 -03:00
cataloguing.pref Bug 30358: Strip leading/trailing whitespace characters from input fields when cataloguing 2023-05-16 15:17:26 -03:00
circulation.pref Bug 33117: Adding new PatronAutoCompleteSearchMethod system preference 2023-07-17 14:44:22 +01:00
enhanced_content.pref Bug 33697: Remove RecordedBooks (rbdigital) integration 2023-06-09 11:22:15 -03:00
erm.pref Bug 32147: Capitalization: E-Resource management 2022-11-16 08:46:20 -03:00
i18n_l10n.pref
interlibrary_loans.pref Bug 32799: Rename ILLSTATUS authorised value category to ILL_STATUS_ALIAS 2023-02-27 13:08:10 -03:00
local_use.pref Bug 31952: (QA follow-up) Fix capitalization: Local Use 2022-10-27 09:36:44 -03:00
logs.pref Bug 32057: Add optional stack trace to action logs 2023-03-14 08:49:32 -03:00
opac.pref Bug 21330: (QA follow-up) Add 'empty' option to system preference description 2023-05-15 18:24:05 -03:00
patrons.pref Bug 29046: Fix and amend system preference description 2023-05-18 12:13:43 -03:00
searching.pref Bug 32355: Add css class url to URL syspref 2022-12-13 08:43:24 -03:00
serials.pref
staff_interface.pref Bug 21330: (follow-up) Fix new preference text and place 2023-05-15 18:24:04 -03:00
tools.pref
web_services.pref