]> 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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Thu, 8 Jun 2023 17:22:31 +0000 (17:22 +0000)
commitcd4c50bb83202fd498294ea1183fbc2c7c80e66a
tree59d18bce4cde10a8c02f3cae62d31897b69ca8a0
parent39400e506129e0bead9e3d544a49afc096da9b23
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>
(cherry picked from commit 493819b92b8ecbe917b70cf564e7a0bdbbec9f89)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc