From 4cb32de4b6ab3902b3c68af3f163d70e251015f0 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Tue, 7 Dec 2021 20:42:25 +0000 Subject: [PATCH] Bug 13188: (QA follow-up) Enhance list of field exclusions It doesn't make sense to allow for fields not visible in the OPAC form to be made mandatory. This patch specifically adds: * opacnote * borrowernotes * sort 1 and sort2 (missing only from Modification) PatronSelfRegistrationBorrowerMandatoryField exclusions: sort1|sort2|opacnote|borrowernotes PatronSelfModificationMandatoryField exclusions: password|cardnumber|dateexpiry|categorycode|sort1|sort2|opacnote|borrowernotes Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 b34fb9d98e..de2634b5ff 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 @@ -822,13 +822,13 @@ OPAC: - pref: PatronSelfModificationMandatoryField type: modalselect source: borrowers - exclusions: password|cardnumber|dateexpiry|categorycode + exclusions: password|cardnumber|dateexpiry|categorycode|sort1|sort2|opacnote|borrowernotes - - "The following database columns must be filled in on the patron entry screen:" - pref: PatronSelfRegistrationBorrowerMandatoryField type: modalselect source: borrowers - exclusions: sort1|sort2 + exclusions: sort1|sort2|opacnote|borrowernotes - - "The following database columns will not appear on the patron self-registration screen:" - pref: PatronSelfRegistrationBorrowerUnwantedField -- 2.11.0