Bugzilla – Attachment 151058 Details for
Bug 29822
Use table column selection modal for DefaultPatronSearchFields preference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29822: Update 'DefaultPatronSearchFields' to a select list
Bug-29822-Update-DefaultPatronSearchFields-to-a-se.patch (text/plain), 2.21 KB, created by
Martin Renvoize (ashimema)
on 2023-05-11 08:42:45 UTC
(
hide
)
Description:
Bug 29822: Update 'DefaultPatronSearchFields' to a select list
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-05-11 08:42:45 UTC
Size:
2.21 KB
patch
obsolete
>From 6097d3e91ff597998b4fbc2a4eb28426ef549d79 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 23 Dec 2022 11:05:01 +0000 >Subject: [PATCH] Bug 29822: Update 'DefaultPatronSearchFields' to a select > list > >This patch updates the `DefaultPatronSearchFields` preference from >freetext expecting a comma delimited list of borrower fields to a >multi-select with a sensible list of fields available. > >I opted to not use the Modal approach with all borrower fields listed as >I felt it made more sense to only expose a more limited subset of the >fields available to us. >--- > .../en/modules/admin/preferences/patrons.pref | 15 ++++++++++++++- > 1 file changed, 14 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >index b2ed2e5fe4..ae92ec9451 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >@@ -58,7 +58,20 @@ Patrons: > - > - "Comma separated list defining the default fields to be used during a patron search using the \"standard\" option in the patrons or circulation module:" > - pref: DefaultPatronSearchFields >- class: multi >+ multiple: >+ firstname: "First name" >+ middle_name: "Middle name" >+ surname: "Last name" >+ othernames: "Other names" >+ cardnumber: "Cardnumber" >+ userid: "Username" >+ email: "Primary email" >+ emailpro: "Secondary email" >+ phone: "Primary phone" >+ phonepro: "Secondary phone" >+ mobile: "Mobile phone" >+ smsalertnumber: "Secondary mobile phone" >+ zipcode: "ZIP/Postal code" > - "If empty Koha will default to \"firstname,middle_name,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." > - > - "Show the following fields from the items database table as columns on the statistics tab on the patron record: " >-- >2.40.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 29822
:
144814
|
144831
|
146430
|
146445
|
146488
|
146489
|
146490
|
146491
|
146492
|
147433
|
147434
|
147435
|
147436
|
147437
|
149890
|
149891
|
149892
|
149893
|
149894
|
151058
|
151059
|
151060
|
151061
|
151062
|
151064
|
151233
|
151234
|
151235
|
151236
|
151237
|
151238
|
153373
|
153374
|
153375
|
153376
|
153377
|
153378
|
153379
|
153380
|
153381
|
153382
|
153383
|
153384
|
153442
|
153443
|
153444
|
153445
|
153446
|
153447
|
154361
|
154362
|
154363
|
154364
|
154365
|
154366