From bdde8843b076880e229135ecd8734fe45642e75f Mon Sep 17 00:00:00 2001 From: Baptiste Wojtkowski Date: Thu, 30 Oct 2025 15:18:55 +0000 Subject: [PATCH] Bug 41119: Add missing function to acqui-home.tt TEST PLAN: DO NOT APPLY PATCH BEFORE TESTING 1 - Go to histsearch.pl, type "ko" in "Basket created by" -> autocompletion starts 2 - Go to acqui-home.pl, type "ko" in "Basket created by" -> autocompletion is ko 3 - Apply patch 4 - Go to histsearch.pl, type "ko" in "Basket created by" -> autocompletion starts 5 - Go to acqui-home.pl, type "ko" in "Basket created by" -> autocompletion starts --- .../intranet-tmpl/prog/en/modules/acqui/acqui-home.tt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt index b2f6b4f55fc..460cb886473 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt @@ -281,6 +281,14 @@ $("#accounts").DataTable().draw(); }); + patron_autocomplete($("#find_patron"), { + 'on-select-add-to': {container: $("#basket_creators"), input_name: 'created_by' }, + 'on-select-callback': function( event, ui ) { + $("#find_patron").val('').focus(); + return false; + } + + }); }); [% END %] -- 2.43.0