]> git.koha-community.org Git - koha.git/commit
Bug 33829: Fix add patron to patron list if PatronAutoComplete is off
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 25 May 2023 13:07:25 +0000 (15:07 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 26 May 2023 12:50:06 +0000 (09:50 -0300)
commit493819b92b8ecbe917b70cf564e7a0bdbbec9f89
tree7cfcd5cad786edc4d26e4d29f3a579f0ea74535a
parenta69551e32e50376b58852fec7e89deef3c07d55b
Bug 33829: Fix add patron to patron list if PatronAutoComplete is off

When adding patrons to a patron list we get a JS error about undefined
variables. We can easily fix this problem by defining them even if the
pref is not set.

We are enabling the auto complete even if PatronAutoComplete if off.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc