Bugzilla – Attachment 145826 Details for
Bug 32570
City is duplicated in patron search if the patron has both city and state
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32570: Display patron.state correctly
Bug-32570-Display-patronstate-correctly.patch (text/plain), 1.46 KB, created by
Katrin Fischer
on 2023-01-30 22:44:45 UTC
(
hide
)
Description:
Bug 32570: Display patron.state correctly
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-01-30 22:44:45 UTC
Size:
1.46 KB
patch
obsolete
>From 58375b1196c1fb904b5b05e2245ecf68c5542aa3 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 4 Jan 2023 23:03:42 +0000 >Subject: [PATCH] Bug 32570: Display patron.state correctly > >To test: >1. Have a patron with both a city and state in their Main address. >2. Do a patron search that will return that patron among others. >3. Notice the patroncity will say something like Centerville, Centerville: repeating the city but no state. >4. Apply patch >5. Try step 2 again, this time the city, state should display correctly. > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../intranet-tmpl/prog/en/includes/js-patron-format-address.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format-address.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format-address.inc >index 1b6425b28e..f72d28371b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format-address.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format-address.inc >@@ -31,7 +31,7 @@ > if ( data.city ) { > address += ', '; > } >- address += escape_str(data.city); >+ address += escape_str(data.state); > } > if ( data.postal_code ) { > address += " " + escape_str(data.postal_code); >-- >2.30.2
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 32570
:
145050
|
145061
| 145826