From aa63943c2f5f02d67e26918f96996ab686aa1bf5 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 4 Mar 2024 14:38:16 +0100 Subject: [PATCH] Bug 35329: Fix autocomplete when placing a hold There was a JS error Uncaught TypeError: node.autocomplete(...).data(...) is undefined Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 4c99893873..1d668cde78 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -1665,7 +1665,7 @@ [% UNLESS ( patron || patron.borrowernumber || borrowers || noitems || nobiblio ) %] [% IF ( PatronAutoComplete ) %] - patron_autocomplete($("#search_patron_filter"), { 'link-to': 'reserve', 'url-params': '[% url_biblio_params | url %]' }); + patron_autocomplete($(".search_patron_filter"), { 'link-to': 'reserve', 'url-params': '[% url_biblio_params | url %]' }); [% END %] [% END %] -- 2.39.5