Bugzilla – Attachment 110860 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: (bug 25070 follow-up) Fix typo data_addressfield in address includes
Bug-26556-bug-25070-follow-up-Fix-typo-dataaddress.patch (text/plain), 2.78 KB, created by
Jonathan Druart
on 2020-09-28 14:07:56 UTC
(
hide
)
Description:
Bug 26556: (bug 25070 follow-up) Fix typo data_addressfield in address includes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-09-28 14:07:56 UTC
Size:
2.78 KB
patch
obsolete
>From c53208880497c29ae2e9df1b14d2a184887c7952 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: (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 <jonathan.druart@bugs.koha-community.org> >--- > .../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.20.1
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