From 4bc356108c1011cc5cd47fb0ae8951e440a3c224 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 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 --- .../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 5a6f1bd5a4..1d82f30f62 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.20.1