Lines 1-5
Link Here
|
1 |
[% USE raw %] |
1 |
[% USE raw %] |
2 |
[% USE Koha %] |
2 |
[% USE Koha %] |
|
|
3 |
[% USE TablesSettings %] |
3 |
[% USE KohaDates %] |
4 |
[% USE KohaDates %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog › Your checkout history</title> |
6 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog › Your checkout history</title> |
Lines 201-213
Link Here
|
201 |
[% INCLUDE 'opac-bottom.inc' %] |
202 |
[% INCLUDE 'opac-bottom.inc' %] |
202 |
[% BLOCK jsinclude %] |
203 |
[% BLOCK jsinclude %] |
203 |
[% INCLUDE 'datatables.inc' %] |
204 |
[% INCLUDE 'datatables.inc' %] |
|
|
205 |
[% INCLUDE 'columns_settings.inc' %] |
204 |
<script> |
206 |
<script> |
205 |
$(document).ready(function(){ |
207 |
$(document).ready(function(){ |
206 |
[% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %] |
208 |
[% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %] |
207 |
$('#order').change(function() { |
209 |
$('#order').change(function() { |
208 |
$('#sortform').submit(); |
210 |
$('#sortform').submit(); |
209 |
}); |
211 |
}); |
210 |
|
212 |
|
|
|
213 |
columns_settings = [% TablesSettings.GetColumns( 'opac', 'reading-record', 'readingrec', 'json' ) | $raw %]; |
214 |
KohaTable("#readingrec", { |
215 |
"dom": '<"top"f>rt<"clear">', |
216 |
"sorting": [[ 1, "asc" ]], |
217 |
"autoWidth": false, |
218 |
}, columns_settings ); |
219 |
|
211 |
var table = $("#readingrec").dataTable($.extend(true, {}, dataTablesDefaults, { |
220 |
var table = $("#readingrec").dataTable($.extend(true, {}, dataTablesDefaults, { |
212 |
"sPaginationType": "four_button", |
221 |
"sPaginationType": "four_button", |
213 |
"columnDefs": [ |
222 |
"columnDefs": [ |
214 |
- |
|
|