Bugzilla – Attachment 153442 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.24 KB, created by
Martin Renvoize (ashimema)
on 2023-07-14 08:55:08 UTC
(
hide
)
Description:
Bug 29822: Update 'DefaultPatronSearchFields' to a select list
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-07-14 08:55:08 UTC
Size:
2.24 KB
patch
obsolete
>From 32b5a16cfa4804a0e30b9201d27bed6fb7a3c6c1 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. > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../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 32cd34f706..360ebf8463 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." > - > - pref: DefaultPatronSearchMethod >-- >2.41.0
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