From 31956de35f337135cdae966d7c1ec2c0ac581fc2 Mon Sep 17 00:00:00 2001
From: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Date: Thu, 9 Feb 2023 17:32:19 +0000
Subject: [PATCH] Bug 29822: Use the modal
This looks silly to me... and it still requires changes to
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
koha-tmpl/intranet-tmpl/prog/en/includes/member-search-box.inc
koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc
and a database update.
---
.../en/modules/admin/preferences/patrons.pref | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)
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 2237480b83..edd108c4d1 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
@@ -56,22 +56,11 @@ Patrons:
class: integer
- results per page in the staff interface.
-
- - "Comma separated list defining the default fields to be used during a patron search using the \"standard\" option in the patrons or circulation module:"
+ - "Pipe 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
- 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"
+ type: modalselect
+ source: borrowers
+ exclusions: anonymized|auth_method|autorenew_checkouts|date_renewed|dateenrolled|dateexpiry|lang|lastseen|login_attempts|overdrive_auth_token|password|password_expiration_date|primary_contact_method|gonenoaddress|lost|debarred|debarredcomment|branchcode|categorycode|flags|guarantorid|relationship|privacy|privacy_guarantor_checkouts|privacy_guarantor_fines|pronouns|secret|sms_provider_id|updated_on|checkprevcheckout
- "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.39.1