]> git.koha-community.org Git - koha.git/commit
Bug 26967: Correctly format patron address in autocomplete
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 28 Feb 2023 08:51:20 +0000 (09:51 +0100)
committerJacob O'Mara <jacobomara901@gmail.com>
Wed, 10 May 2023 12:41:06 +0000 (13:41 +0100)
commit9908c02b157c961a30d771f423739d071a1910e3
tree4f53a615471c7915898681315d2b30965985e297
parentee4cc43b97d1c234379feb558ff1b2e38bf69cb1
Bug 26967: Correctly format patron address in autocomplete

We should use the JS function to format patron's address in the
autocomplete result

Test plan:
Search for patron using the autocomplete feature, using the different values
of addressformat.
The address should be formatted correctly, like other places in Koha.
You should also notice that the street number is now displayed.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit dbd0117a494e516265a2598a8f6b60f896f57c79)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format-address.inc
koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
koha-tmpl/intranet-tmpl/prog/js/patron-autocomplete.js