From 743f89f693f583f2e986788c0af5f1d5fb66d569 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 29 Oct 2014 10:53:07 -0400 Subject: [PATCH] Bug 12944 [Patron lists follow-up] There is no way to search orders by creator Content-Type: text/plain; charset="utf-8" This bug modifies not just the order search form but also the patron lists feature, making use of the new script for building a patron autocomplete form. However, the test plan does not specify that the patron lists form be tested as well, and it doesn't work. This patch corrects a minor flaw which broke the patron search autocomplete when adding patrons to a patron list. To test, create a new patron list if necessary. Click the "add patrons" button to add patrons to the list. In the patron search form type a partial patron name. You should get an autocomplete dropdown of existing patrons. Selecting one should work correctly. --- .../prog/en/modules/patron_lists/list.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt index 32d7580..8c45a45 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt @@ -24,7 +24,7 @@ $(document).ready(function() { patron_autocomplete({ patron_container: $("#patrons_to_add"), input_autocomplete: $("#find_patron"), - patron_input_name = 'patrons_to_add' + patron_input_name: 'patrons_to_add' }); var checkBoxes = $("input[type='checkbox']","#patron-list-table"); -- 1.7.9.5