Josef Moravec
2b52e54b20
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>
13 lines
382 B
JavaScript
13 lines
382 B
JavaScript
/* global dataTablesDefaults */
|
|
$(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);
|
|
});
|