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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 23 Sep 2022 12:16:29 +0000 (09:16 -0300)
commit432f058a722cd66cdb2ebde4d8d47222830a7632
tree097b870c4aa4cdfe906c6c15c7a3f36e7f3780a7
parenta45b105c241ebc845b3c8585622cab53a4dc9a0d
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>
koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format-address.inc