]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 21 Apr 2023 13:36:26 +0000 (10:36 -0300)
commitdbd0117a494e516265a2598a8f6b60f896f57c79
tree1793919acb430f8fb4fc5cd8c5f99d7f7b2a05c8
parent1bd4f53e9015f9dc764d51618acbaaec8ad275ff
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>
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