Bug 36298: In patrons search fix road type with authorized value
authorFridolin Somers <fridolin.somers@biblibre.com>
Tue, 12 Mar 2024 10:18:18 +0000 (11:18 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 19 Mar 2024 21:43:42 +0000 (21:43 +0000)
commitcc83d8e19a72fea5bde06658722e8fe89a257c2f
tree53b921498683f60e2009ccceb2c03ec9261ff01a
parent3f1fa1918ebf0eba3f57ff6d5958f810ee1c1735
Bug 36298: In patrons search fix road type with authorized value

In new patrons search via API, the road type code is displayed in patron address instead of authorized value description.

Also road type is missing a space separator in DE and FR format.

Test plan :
1) Create two entries in authorized value category "ROADTYPE" :
   R1 "Road"
   R2 "Street"
2) Edit a patron (ie Delgado, Floyd) to set road type to "Road"
3) Perform a search on patrons (click on letter D)
4) Check you see in address "Road" and not "R1"
5) Edit authorized value category "ROADTYPE" to delete entry "R1"
6) Perform a search on patrons (click on letter D)
7) Check you see in address "R1"

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 3c0ac4cb9a4290c770aa8e4837b6d639b49c97e9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 72e78f72a3e701b574db13f7ad0ff161e00029ef)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format-address.inc