Bugzilla – Attachment 110858 Details for
Bug 26556
Cities autocomplete broken in patron edition
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26556: Fix typo data_addressfield in address includes
Bug-26556-Fix-typo-dataaddressfield-in-address-inc.patch (text/plain), 2.69 KB, created by
Fridolin Somers
on 2020-09-28 13:55:03 UTC
(
hide
)
Description:
Bug 26556: Fix typo data_addressfield in address includes
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2020-09-28 13:55:03 UTC
Size:
2.69 KB
patch
obsolete
>From f7394f94bc28ab6cc8ed2e8c23968c0333b648c4 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Mon, 28 Sep 2020 15:47:34 +0200 >Subject: [PATCH] Bug 26556: 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" >--- > .../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 @@ > <input type="text" id="B_city" name="B_city" size="20" value="[% patron.B_city | html %]" /> > [% IF cities.count %] > or choose >- <select class="select_city" data_addressfield="B_" name="select_city"> >+ <select class="select_city" data-addressfield="B_" name="select_city"> > <option value="|||"></option> > [% 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 @@ > <input type="text" id="city" name="city" size="20" value="[% patron.city | html %]" /> > [% IF cities.count %] > or choose >- <select class="select_city" data_addressfield="" name="select_city"> >+ <select class="select_city" data-addressfield="" name="select_city"> > <option value="|||"></option> > [% FOREACH c IN cities %] > [% IF c.city_name == patron.city && c.city_state == patron.state && c.city_zipcode == patron.zipcode %] >-- >2.28.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26556
:
110858
|
110860