Lines 2-7
Link Here
|
2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
3 |
[% USE Koha %] |
3 |
[% USE Koha %] |
4 |
[% USE AuthorisedValues %] |
4 |
[% USE AuthorisedValues %] |
|
|
5 |
[% USE ColumnsSettings %] |
5 |
|
6 |
|
6 |
[% INCLUDE 'doc-head-open.inc' %] |
7 |
[% INCLUDE 'doc-head-open.inc' %] |
7 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog › Courses</title> |
8 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog › Courses</title> |
Lines 63-73
Link Here
|
63 |
[% INCLUDE 'opac-bottom.inc' %] |
64 |
[% INCLUDE 'opac-bottom.inc' %] |
64 |
[% BLOCK jsinclude %] |
65 |
[% BLOCK jsinclude %] |
65 |
[% INCLUDE 'datatables.inc' %] |
66 |
[% INCLUDE 'datatables.inc' %] |
|
|
67 |
[% INCLUDE 'columns_settings.inc' %] |
66 |
<script> |
68 |
<script> |
|
|
69 |
|
67 |
$(document).ready(function() { |
70 |
$(document).ready(function() { |
68 |
$("#course_reserves_table").dataTable($.extend(true, {}, dataTablesDefaults, { |
71 |
columns_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'course_reserves_table', 'json' ) | $raw %] |
|
|
72 |
|
73 |
KohaTable("#course_reserves_table", { |
69 |
"dom": '<"top"flp>rt<"clear">', |
74 |
"dom": '<"top"flp>rt<"clear">', |
70 |
})); |
75 |
"sorting": [[ 1, "asc" ]], |
|
|
76 |
"autoWidth": false, |
77 |
"asColumnDefs": [ |
78 |
{ "sortable": false, "searchable": false, 'targets': [ 'NoSort' ] }, |
79 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] }, |
80 |
{ "aTargets": [ 1 ], "sType": "nsb-nse" }, |
81 |
] |
82 |
}, columns_settings ); |
71 |
}); |
83 |
}); |
|
|
84 |
|
72 |
</script> |
85 |
</script> |
73 |
[% END %] |
86 |
[% END %] |
74 |
- |
|
|