If you use the streetnumber field in the patron form, this doesn't show with the address in patron search results. To reproduce: 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
Created attachment 140415 [details] [review] 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
Created attachment 140434 [details] [review] 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>
Created attachment 140458 [details] [review] 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>
Pushed to master for 22.11. Nice work everyone, thanks!
Backported to 22.05.x for upcoming 22.05.07 release
file koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format-address.inc missing in 21.11. can't apply