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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 15 Mar 2024 14:39:08 +0000 (15:39 +0100)
commit3c0ac4cb9a4290c770aa8e4837b6d639b49c97e9
tree230d0f2e58309f203d3ec88bf8e29b4c59dd05a5
parent304d8e17d643b758426584747477dbd6d856acf1
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>
koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format-address.inc