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> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
06960c91e4
commit
5acc976dec
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
||||||
if ( data.city ) {
|
if ( data.city ) {
|
||||||
address += ', ';
|
address += ', ';
|
||||||
}
|
}
|
||||||
address += escape_str(data.city);
|
address += escape_str(data.state);
|
||||||
}
|
}
|
||||||
if ( data.postal_code ) {
|
if ( data.postal_code ) {
|
||||||
address += " " + escape_str(data.postal_code);
|
address += " " + escape_str(data.postal_code);
|
||||||
|
|
Loading…
Reference in a new issue