From 7bec4a22a5326b638d4cc12b1285a34033baa6d1 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 9 Mar 2022 14:55:21 +0000 Subject: [PATCH] Bug 30243: When branccode is required on OPAC suggestion page default to empty value To test: 1. Apply patch 2. Go the purchase suggestion page and see that branchcode defaults to the first option in the list. 3. Go to OPACSuggestionMandatoryFields and mark branchcode as required 4. BAck on the OPAC suggestion page notice that the branchcode defaults to an empty value 5. Try to submit the form without changing it, you cannot. You must choose a branch Signed-off-by: shiyao Signed-off-by: Nick Clemens --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt index 7bee65b938..35e0ba94d6 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt @@ -188,6 +188,7 @@ [% IF ( branchcode_required ) %]
Required
-- 2.30.2