Bug 32570: Display patron.state correctly
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 4 Jan 2023 23:03:42 +0000 (23:03 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Jan 2023 13:19:44 +0000 (10:19 -0300)
commit5acc976dec573ddd679219a0e920871a10622ac3
tree48dee1898d9563e1c196f31ec794346cf036efb1
parent06960c91e4f3359c349d0c694d173d4362956e97
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>
koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format-address.inc