Bugzilla – Attachment 175637 Details for
Bug 38735
New installations should include preferred_name in DefaultPatronSearchFields by default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38735: Add preferred_name to default search fields for new installations
Bug-38735-Add-preferredname-to-default-search-fiel.patch (text/plain), 3.00 KB, created by
Emily Lamancusa (emlam)
on 2024-12-17 21:13:07 UTC
(
hide
)
Description:
Bug 38735: Add preferred_name to default search fields for new installations
Filename:
MIME Type:
Creator:
Emily Lamancusa (emlam)
Created:
2024-12-17 21:13:07 UTC
Size:
3.00 KB
patch
obsolete
>From 8697f497e5fc1da6a77c8c803c58b9b50dd05af8 Mon Sep 17 00:00:00 2001 >From: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >Date: Tue, 17 Dec 2024 16:05:07 -0500 >Subject: [PATCH] Bug 38735: Add preferred_name to default search fields for > new installations > >To test: >1. Attach patch first, and then start up KTD or sandbox to see the > behavior for a new installation >2. Go to Administration > System Preferences and search for > DefaultPatronSearchFields >3. Click to edit >--> Confirm preferred_name is checked in the modal that displays >4. Edit a patron to give them a preferred name that is different from > their first name >5. Search for the patron by the newly set preferred_name >--> Confirm the patron correctly autocompletes and appears in the search > results >--- > installer/data/mysql/mandatory/sysprefs.sql | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index f49557be9c..ede2d4d275 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -206,7 +206,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('DefaultLongOverduePatronCategories', '', NULL, "Set the patron categories that will be listed when longoverdue cronjob is executed", 'choice'), > ('DefaultLongOverdueSkipLostStatuses', '', NULL, 'Skip these lost statuses by default in longoverdue.pl', 'Free'), > ('DefaultLongOverdueSkipPatronCategories', '', NULL, "Set the patron categories that will not be listed when longoverdue cronjob is executed", 'choice'), >-('DefaultPatronSearchFields', 'firstname|middle_name|surname|othernames|cardnumber|userid',NULL,'Pipe separated list defining the default fields to be used during a patron search using the "standard" option. If empty Koha will default to "firstname|surname|othernames|cardnumber|userid". Additional fields added to this preference will be added as search options in the dropdown menu on the patron search page.','free'), >+('DefaultPatronSearchFields', 'firstname|preferred_name|middle_name|surname|othernames|cardnumber|userid',NULL,'Pipe separated list defining the default fields to be used during a patron search using the "standard" option. If empty Koha will default to "firstname|surname|othernames|cardnumber|userid". Additional fields added to this preference will be added as search options in the dropdown menu on the patron search page.','free'), > ('DefaultPatronSearchMethod','starts_with','Choose which search method to use by default when searching with PatronAutoComplete','starts_with|contains','Choice'), > ('DefaultSaveRecordFileID','biblionumber','biblionumber|controlnumber','Defines whether the advanced cataloging editor will use the bibliographic record number or control number field to populate the name of the save file','Choice'), > ('defaultSortField','relevance','relevance|popularity|call_number|pubdate|acqdate|title|author','Specify the default field used for sorting','Choice'), >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38735
:
175637
|
175676