Lines 4-9
Link Here
|
4 |
[% USE Koha %] |
4 |
[% USE Koha %] |
5 |
[% USE AuthorisedValues %] |
5 |
[% USE AuthorisedValues %] |
6 |
[% USE Branches %] |
6 |
[% USE Branches %] |
|
|
7 |
[% USE ColumnsSettings %] |
7 |
[% SET footerjs = 1 %] |
8 |
[% SET footerjs = 1 %] |
8 |
[% INCLUDE 'doc-head-open.inc' %] |
9 |
[% INCLUDE 'doc-head-open.inc' %] |
9 |
<title>Circulation History for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title> |
10 |
<title>Circulation History for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title> |
Lines 44-50
Link Here
|
44 |
<li><a href="#readingrec" id="tab_onsite_checkout">On-site checkouts</a></li> |
45 |
<li><a href="#readingrec" id="tab_onsite_checkout">On-site checkouts</a></li> |
45 |
</ul> |
46 |
</ul> |
46 |
[% END %] |
47 |
[% END %] |
47 |
<div id="readingrec" style="overflow:hidden"> |
48 |
<div id="readingrec"> |
48 |
<table id="table_readingrec"> |
49 |
<table id="table_readingrec"> |
49 |
<thead> |
50 |
<thead> |
50 |
<tr> |
51 |
<tr> |
Lines 127-142
Link Here
|
127 |
[% INCLUDE 'str/members-menu.inc' %] |
128 |
[% INCLUDE 'str/members-menu.inc' %] |
128 |
[% Asset.js("js/members-menu.js") | $raw %] |
129 |
[% Asset.js("js/members-menu.js") | $raw %] |
129 |
[% INCLUDE 'datatables.inc' %] |
130 |
[% INCLUDE 'datatables.inc' %] |
|
|
131 |
[% INCLUDE 'columns_settings.inc' %] |
130 |
<script id="js"> |
132 |
<script id="js"> |
131 |
$(document).ready(function() { |
133 |
$(document).ready(function() { |
132 |
var table = $("#table_readingrec").dataTable($.extend(true, {}, dataTablesDefaults, { |
134 |
var columns_settings = [% ColumnsSettings.GetColumns('members', 'checkouthistory', 'checkouthistory-table', 'json') %]; |
|
|
135 |
var table = KohaTable("table_readingrec", { |
133 |
"sPaginationType": "four_button", |
136 |
"sPaginationType": "four_button", |
134 |
"aaSorting": [], |
137 |
"aaSorting": [[9, 'desc']], |
|
|
138 |
"sDom": 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>', |
135 |
"aoColumnDefs": [ |
139 |
"aoColumnDefs": [ |
136 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] }, |
140 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] }, |
137 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] } |
141 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] } |
138 |
] |
142 |
] |
139 |
})); |
143 |
}, columns_settings); |
|
|
144 |
|
140 |
var tabs = $("#tabs").tabs({ |
145 |
var tabs = $("#tabs").tabs({ |
141 |
activate: function(e, ui) { |
146 |
activate: function(e, ui) { |
142 |
var active = tabs.tabs("option", "active" ); |
147 |
var active = tabs.tabs("option", "active" ); |
143 |
- |
|
|