Bug 32570: Display patron.state correctly
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 4 Jan 2023 23:03:42 +0000 (23:03 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 3 Feb 2023 21:57:07 +0000 (21:57 +0000)
commit71340a9593bff7d2ee520b57ebc15c85b943eff3
treeb7fc643304cca57f8288b00e098cf0dfe467a5f3
parent1f0d5bb89ddcad42166a5711e54b65f8bded6bda
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>
(cherry picked from commit 5acc976dec573ddd679219a0e920871a10622ac3)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
(cherry picked from commit 74957821f951ec15b67e4707d562261724145805)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format-address.inc