Bug 12944 [Patron lists follow-up] There is no way to search orders by creator

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.

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Owen Leonard 2014-10-29 10:53:07 -04:00 committed by Tomas Cohen Arazi
parent ff7c87d345
commit fed02a5fc8
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
[% INCLUDE 'calendar.inc' %]
[% INCLUDE 'datatables.inc' %]
<script type="text/javascript" src="[% interface %]/js/autocomplete/patrons.pl"></script>
<script type="text/javascript" src="[% interface %]/js/autocomplete/patrons.js"></script>
<script type="text/javascript">
//<![CDATA[
$(document).ready(function() {

View file

@ -25,7 +25,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");