Lines 74-80
Link Here
|
74 |
[% INCLUDE 'columns_settings.inc' %] |
74 |
[% INCLUDE 'columns_settings.inc' %] |
75 |
<script> |
75 |
<script> |
76 |
$(document).ready(function() { |
76 |
$(document).ready(function() { |
77 |
columns_settings = [% TablesSettings.GetColumns( 'opac', 'course_list', 'course_reserves_table', 'json' ) | $raw %] |
77 |
table_settings = [% TablesSettings.GetTableSettings( 'opac', 'course_list', 'course_reserves_table', 'json' ) | $raw %] |
78 |
KohaTable("#course_reserves_table", { |
78 |
KohaTable("#course_reserves_table", { |
79 |
"dom": '<"top"<"table_controls"f>>rt<"clear">', |
79 |
"dom": '<"top"<"table_controls"f>>rt<"clear">', |
80 |
"sorting": [[ 1, "asc" ]], |
80 |
"sorting": [[ 1, "asc" ]], |
Lines 91-97
Link Here
|
91 |
"cColumnDefs": [ |
91 |
"cColumnDefs": [ |
92 |
{ "className": 'dtr-control', "orderable": false, "targets": -1 }, |
92 |
{ "className": 'dtr-control', "orderable": false, "targets": -1 }, |
93 |
], |
93 |
], |
94 |
}, columns_settings ); |
94 |
}, table_settings ); |
95 |
}); |
95 |
}); |
96 |
</script> |
96 |
</script> |
97 |
[% END %] |
97 |
[% END %] |
98 |
- |
|
|