From db7a79710803bc2a786fe6421fa4492bfe1c00d2 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 2 Dec 2021 01:36:26 +0000 Subject: [PATCH] Bug 29617: exclude categorycode from BorrowerUnwantedField MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To test: 1. Go to BorrowerUnwantedField and select categorycode as unwanted 2. Try adding a new patron, you will see an error message in the staff client "Something went wrong when creating the patron. Check the logs." You will be unable to make a new patron. 3. Apply patch 4. Go to BorrowerUnwantedField, you are unable to exlcude it. Patrons need categorycodes Signed-off-by: Emmanuel Bétemps --- .../prog/en/modules/admin/preferences/patrons.pref | 2 +- 1 file changed, 1 insertion(+), 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 8c30224356..9ef410f24c 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 @@ -218,7 +218,7 @@ Patrons: - pref: BorrowerUnwantedField type: modalselect source: borrowers - exclusions: branchcode + exclusions: branchcode|categorycode - - "Borrowers can have the following titles:" - pref: BorrowersTitles -- 2.30.2