Bug 22330: (QA follow-up) Enable datatable in patron search
Test plan:
Try to search patron for circulation (or for creating hold), when there
are more than 1 patron, you should see a table with patrons found.
--> without this patch, the datatable is not created (for example
sorting the table by clicking to column heading does not work)
--> with this patch, the datatable works
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
821e754e02
commit
2b52e54b20
|
|
@ -3,11 +3,11 @@ $(document).ready(function() {
|
|||
$(".clickable").click(function() {
|
||||
window.document.location = $(this).data('url');
|
||||
});
|
||||
// var table = KohaTable("table_borrowers",
|
||||
// {
|
||||
// "aaSorting": [ 0, "asc" ],
|
||||
// "sDom": "t",
|
||||
// "iDisplayLength": -1
|
||||
// },
|
||||
// columns_settings_borrowers_table, null);
|
||||
var table = KohaTable("table_borrowers",
|
||||
{
|
||||
"aaSorting": [ 0, "asc" ],
|
||||
"sDom": "t",
|
||||
"iDisplayLength": -1
|
||||
},
|
||||
columns_settings_borrowers_table, null);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue