From a0e4e3b5f87fc4fa2af78ec1749429921e5e5ae9 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Mon, 28 Sep 2020 15:47:34 +0200 Subject: [PATCH] Bug 26556: (bug 25070 follow-up) Fix typo data_addressfield in address includes Selecting "main address" city or "alternate address" city does not trigger the automatic population of values to the city, state, and zip fields anymore. It woks for "alternate contact". Test plan : 1) Create some cities with all datas : city, state, zip code and country 2) Open patron creation form 3) On "main address", select a city in combobox 4) Check city, state, zip code and country are filled 5) Same with "alternate address" Signed-off-by: Jonathan Druart Signed-off-by: Jonathan Druart --- .../intranet-tmpl/prog/en/includes/member-alt-address-style.inc | 2 +- .../prog/en/includes/member-main-address-style.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style.inc index 7b3f9bbd70..28a9ce3503 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style.inc @@ -150,7 +150,7 @@ [% IF cities.count %] or choose - [% FOREACH c IN cities %] [% IF c.city_name == patron.B_city && c.city_state == patron.B_state && c.city_zipcode == patron.B_zipcode %] 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 bd384ed1b5..1c40b1b73a 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 @@ -141,7 +141,7 @@ [% IF cities.count %] or choose - [% FOREACH c IN cities %] [% IF c.city_name == patron.city && c.city_state == patron.state && c.city_zipcode == patron.zipcode %] -- 2.39.5