From 336efd8ba889d493775560f77514eff980ab5ade Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Tue, 23 Jun 2020 09:25:33 +0200 Subject: [PATCH] Bug 25842: Fix typo streetype in member-main-address-style.inc There are several more instances of the incorrect variable "streetype" in member-main-address-style.inc. Must be corrected with DB column name "streettype" in order to be able to set this field as mandatory. See also : Bug 25839 - Typo patron.streetype in member-main-address-style.inc Test plan : 1) Add "streettype" in system preference "BorrowerMandatoryField" 2) Create a new patron 3) Without patch "Street type" field is not mandatory/required, with patch it is 4) Remove "streettype" from system preference "BorrowerMandatoryField" 5) Create a new patron 6) Check "Street type" field is not mandatory/required 7) Select a value and save 8) Edit again patron 9) Check value is selected --- .../prog/en/includes/member-main-address-style.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style.inc index edee601741..bd384ed1b5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style.inc @@ -48,13 +48,13 @@ [% BLOCK 'address-style_roadtypes' %] [% IF roadtypes %]
  • - [% IF ( mandatorystreetype ) %] -
  • [% END %] [% END %] -- 2.27.0