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> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
1bd3f2cc1b
commit
4d2a3d58b4
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue