From 2e94cac0006e661f10efaad3e6ad295ac0f0d8cf Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 17 Dec 2020 15:52:52 +0000 Subject: [PATCH] Bug 27261: exlude branchcode from PatronSelfRegistrationBorrowerUnwantedField To test: 1 - Alter PatronSelfRegistrationBorrowerUnwantedFieldand select branchcode 2 - Attempt to self register via the OPAC 3 - Kabloom, internal server error 4 - Apply patche 5 - Alter the preference again 6 - Note that branchcode is unchecked and disabled 7 - Save the pref 8 - Attempt to self register again 9 - It succeeds Signed-off-by: Fridolin Somers Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit 05724721d6c8677d62048bd733d9d2d108dd8b3a) Signed-off-by: Fridolin Somers --- .../intranet-tmpl/prog/en/modules/admin/preferences/opac.pref | 1 + 1 file changed, 1 insertion(+) 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 98e0fdc486..2e43a328b6 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 @@ -825,6 +825,7 @@ OPAC: - pref: PatronSelfRegistrationBorrowerUnwantedField type: modalselect source: borrowers + exclusions: branchcode - - "The following database columns will not appear on the patron self-modification screen:" - pref: PatronSelfModificationBorrowerUnwantedField -- 2.39.5