]> git.koha-community.org Git - koha.git/commit
Bug 25842: Fix typo streetype in member-main-address-style.inc
authorFridolin Somers <fridolin.somers@biblibre.com>
Tue, 23 Jun 2020 07:25:33 +0000 (09:25 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 23 Jun 2020 08:31:45 +0000 (10:31 +0200)
commit8b43b262aa0a67d827c9959411186a18cbe51962
tree1a7ae66cf97721f940315b09e042e36278fbe426
parent5cb8158f6b0d756c2e7060979107ef3984cd7019
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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 3ebfc94a5724a0dd63f565f9744800c98d70f9cf)
koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style.inc