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 Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Amended-by: Jonathan Druart Tidy Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
19c7179a13
commit
b0656241de
|
|
@ -281,6 +281,16 @@
|
|||
$("#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;
|
||||
},
|
||||
});
|
||||
});
|
||||
</script>
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue