From 959b92c3629cadc886f3eadb409d68014d763d1c Mon Sep 17 00:00:00 2001
From: Nick Clemens <nick@bywatersolutions.com>
Date: Thu, 31 Oct 2024 16:19:44 +0000
Subject: [PATCH] Bug 28633 (follow-up) Add note about disabling/hiding
 preferred name to sysprefs

---
 .../intranet-tmpl/prog/en/modules/admin/preferences/opac.pref   | 2 ++
 .../prog/en/modules/admin/preferences/patrons.pref              | 1 +
 2 files changed, 3 insertions(+)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
index 1be562220e0..ef816bf671a 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
@@ -829,12 +829,14 @@ OPAC:
               source: borrowers
               exclusions: branchcode|sort1|sort2|gonenoaddress|lost|flags
               inclusions: categorycode|dateexpiry
+            - '<br /> NOTE: preferred_name will be set to firstname if not included in the form.'
         -
             - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> will not appear on the patron self-modification screen:"
             - pref: PatronSelfModificationBorrowerUnwantedField
               type: modalselect
               source: borrowers
               exclusions: sort1|sort2|gonenoaddress|lost|flags
+            - '<br /> NOTE: preferred_name will be set to firstname if not included in the form. It should also be selected in <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=BorrowerUnwantedField">BorrowerUnwantedField</a> if selected here.'
         -
             - pref: PatronSelfRegistrationEmailMustBeUnique
               choices:
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 6d80aadffdf..5b8b0bd0d78 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
@@ -283,6 +283,7 @@ Patrons:
            type: modalselect
            source: borrowers
            exclusions: branchcode|categorycode|flags
+         - '<br /> NOTE: preferred_name will be set to firstname if not included in the form. It should also be selected in <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=PatronSelfModificationBorrowerUnwantedField">PatronSelfModificationBorrowerUnwantedField</a> if selected here.'
      -
          - "Borrowers can have the following titles:"
          - pref: BorrowersTitles
-- 
2.39.5