Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
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
..
preferences Bug 33117: Adding new PatronAutoCompleteSearchMethod system preference 2023-07-17 14:44:22 +01:00
searchengine/elasticsearch Bug 33129: Use template wrapper for breadcrumbs: Administration part 6 2023-04-14 15:39:39 -03:00
additional-fields.tt Bug 11844: (follow-up) Add format hint to the additional fields admin page 2023-05-16 12:58:38 +02:00
admin-home.tt Bug 33550: Remove period in patron restriction type description 2023-05-16 15:17:39 -03:00
adveditorshortcuts.tt Bug 33006: (follow-up) Add spans for translatability 2023-04-12 11:22:10 -03:00
aqbudgetperiods.tt Bug 33180: Use template wrapper for tabs: Budgets and Search engine configuration 2023-04-12 11:43:13 -03:00
aqbudgets.tt Bug 33696: Fix doubled up home icon in budgets page 2023-05-09 10:57:59 -03:00
aqcontract.tt Bug 33006: (follow-up) Add spans for translatability 2023-04-12 11:22:10 -03:00
aqplan.tt Bug 33006: (follow-up) Add spans for translatability 2023-04-12 11:22:10 -03:00
audio_alerts.tt Bug 33006: (follow-up) Add spans for translatability 2023-04-12 11:22:10 -03:00
auth_subfields_structure.tt Bug 33006: (follow-up) Add spans for translatability 2023-04-12 11:22:10 -03:00
auth_tag_structure.tt Bug 33006: (follow-up) Add spans for translatability 2023-04-12 11:22:10 -03:00
authorised_values.tt Bug 33158: Use template wrapper for authorized values and item types administration tabs 2023-05-16 15:17:30 -03:00
authtypes.tt Bug 33007: Use template wrapper for breadcrumbs: Administration part 2 2023-04-12 11:22:11 -03:00
background_jobs.tt Bug 32970: (follow-up) Move include to specific job file 2023-05-16 10:17:11 -03:00
biblio_framework.tt Bug 33007: Use template wrapper for breadcrumbs: Administration part 2 2023-04-12 11:22:11 -03:00
branch_transfer_limits.tt Bug 33007: Use template wrapper for breadcrumbs: Administration part 2 2023-04-12 11:22:11 -03:00
branches.tt Bug 33007: Use template wrapper for breadcrumbs: Administration part 2 2023-04-12 11:22:11 -03:00
cash_registers.tt Bug 33007: Use template wrapper for breadcrumbs: Administration part 2 2023-04-12 11:22:11 -03:00
categories.tt Bug 33007: Use template wrapper for breadcrumbs: Administration part 2 2023-04-12 11:22:11 -03:00
checkmarc.tt Bug 33007: Use template wrapper for breadcrumbs: Administration part 2 2023-04-12 11:22:11 -03:00
cities.tt Bug 33077: Improve ease of translating template title tags 2023-04-12 11:43:22 -03:00
classsources.tt Bug 33007: Use template wrapper for breadcrumbs: Administration part 2 2023-04-12 11:22:11 -03:00
clone-rules.tt Bug 33068: Use template wrapper for breadcrumbs: Administration part 3 2023-03-06 14:45:14 -03:00
columns_settings.tt Bug 33068: Use template wrapper for breadcrumbs: Administration part 3 2023-03-06 14:45:14 -03:00
credit_types.tt Bug 26403: Use accounts include in account management pages 2023-05-10 15:26:15 -03:00
curbside_pickup.tt Bug 33068: Use template wrapper for breadcrumbs: Administration part 3 2023-03-06 14:45:14 -03:00
currency.tt Bug 33068: Use template wrapper for breadcrumbs: Administration part 3 2023-03-06 14:45:14 -03:00
debit_types.tt Bug 33787: Fix for regression caused by bug 32450 2023-05-22 14:46:29 -03:00
desks.tt Bug 33151: Improve translation of string in cities.tt and desks.tt 2023-03-17 09:59:13 -03:00
didyoumean.tt Bug 33068: Use template wrapper for breadcrumbs: Administration part 3 2023-03-06 14:45:14 -03:00
edi_accounts.tt Bug 33076: (QA follow-up) Update context hint to "EDIFACT message QUOTE" 2023-03-20 09:39:39 -03:00
edi_ean_accounts.tt Bug 33111: Use template wrapper for breadcrumbs: Administration part 4 2023-04-12 11:43:22 -03:00
identity_provider_domains.tt Bug 33699: Typo in identity_provider_domains.tt (presedence) 2023-05-12 11:22:40 -03:00
identity_providers.tt Bug 33111: (QA follow-up) Add more context to breadcrumb parts for easier translation 2023-04-12 11:43:23 -03:00
item_circulation_alerts.tt Bug 33154: Tab WRAPPER follow-up: label text must be translatable 2023-04-13 11:47:54 -03:00
items_search_field.tt Bug 33111: (QA follow-up) Add more context to breadcrumb parts for easier translation 2023-04-12 11:43:23 -03:00
items_search_fields.tt Bug 33111: Use template wrapper for breadcrumbs: Administration part 4 2023-04-12 11:43:22 -03:00
itemtypes.tt Bug 33158: Use template wrapper for authorized values and item types administration tabs 2023-05-16 15:17:30 -03:00
koha2marclinks.tt Bug 33111: Use template wrapper for breadcrumbs: Administration part 4 2023-04-12 11:43:22 -03:00
library_groups.tt Bug 33111: Use template wrapper for breadcrumbs: Administration part 4 2023-04-12 11:43:22 -03:00
localization.tt Bug 32068: Consistent classes for primary buttons: Administration 2022-11-02 19:36:41 -03:00
marc-overlay-rules.tt Bug 33335: (QA follow-up) Polishing and comments 2023-05-12 17:50:09 -03:00
marc_subfields_structure.tt Bug 33111: Use template wrapper for breadcrumbs: Administration part 4 2023-04-12 11:43:22 -03:00
marctagstructure.tt Bug 33127: Use template wrapper for breadcrumbs: Administration part 5 2023-04-21 10:36:24 -03:00
matching-rules.tt Bug 33111: Use template wrapper for breadcrumbs: Administration part 4 2023-04-12 11:43:22 -03:00
oai_set_mappings.tt Bug 33127: Use template wrapper for breadcrumbs: Administration part 5 2023-04-21 10:36:24 -03:00
oai_sets.tt Bug 31405: Set focus for cursor to setSpec input when adding a new OAI set 2023-05-05 12:13:56 -03:00
overdrive.tt Bug 33127: Use template wrapper for breadcrumbs: Administration part 5 2023-04-21 10:36:24 -03:00
patron-attr-types.tt Bug 33127: Use template wrapper for breadcrumbs: Administration part 5 2023-04-21 10:36:24 -03:00
preferences.tt Bug 33868: Upgrade the Multiple Select plugin in the staff interface 2023-07-17 12:21:42 +01:00
restrictions.tt Bug 33550: (QA follow-up) Switch from double to single quotes in text 2023-05-16 15:17:42 -03:00
search_filters.tt Bug 33127: Use template wrapper for breadcrumbs: Administration part 5 2023-04-21 10:36:24 -03:00
share_content.tt Bug 33129: Use template wrapper for breadcrumbs: Administration part 6 2023-04-14 15:39:39 -03:00
smart-rules.tt Bug 33129: Use template wrapper for breadcrumbs: Administration part 6 2023-04-14 15:39:39 -03:00
sms_providers.tt Bug 33129: Use template wrapper for breadcrumbs: Administration part 6 2023-04-14 15:39:39 -03:00
smtp_servers.tt Bug 33343: Catch more cases and correctly use new-password hint 2023-06-09 12:04:57 -03:00
sru_modmapping.tt Bug 32068: Consistent classes for primary buttons: Administration 2022-11-02 19:36:41 -03:00
sru_modmapping_auth.tt Bug 26433: Add Control number to SRU field configuration 2023-03-31 12:06:51 +02:00
systempreferences.tt Bug 33129: Use template wrapper for breadcrumbs: Administration part 6 2023-04-14 15:39:39 -03:00
transfer_limits.tt Bug 33129: Use template wrapper for breadcrumbs: Administration part 6 2023-04-14 15:39:39 -03:00
transport-cost-matrix.tt Bug 33129: Use template wrapper for breadcrumbs: Administration part 6 2023-04-14 15:39:39 -03:00
usage_statistics.tt Bug 33129: Use template wrapper for breadcrumbs: Administration part 6 2023-04-14 15:39:39 -03:00
z3950servers.tt Bug 31410: Set focus for cursor to Server name when adding a new Z39.50/SRU server 2023-05-05 12:13:55 -03:00