Bug 31525: display streetnumber with address in patron search
authorWainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
Sun, 11 Sep 2022 22:18:45 +0000 (22:18 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 1 Nov 2022 22:05:27 +0000 (22:05 +0000)
commitf1571f44c76c4b84290b2e97034b5091007598c1
tree4ad31620d9420943ee56e6df0b8622984f65d916
parent11e4196da636ca9e859c95af6138e8a6c1193108
Bug 31525: display streetnumber with address in patron search

Adds back street number to the address when searching for patrons

To test:
1) Edit a patron's contact information
2) Under Main Address put an address, make sure to put something in the
Street number field
3) Do a simple patron search that will yield results (i.e. "a")
4) Confirm the street number does not show, but the rest of the address
does
5) Apply this patch
6) Do another patron search
5) Confirm the street number now shows

Sponsored-by: Catalyst IT
Testing note:  AddressFormat system preference must be set to "US style"

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 432f058a722cd66cdb2ebde4d8d47222830a7632)

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