|
Lines 156-166
Link Here
|
| 156 |
[% INCLUDE 'columns_settings.inc' %] |
156 |
[% INCLUDE 'columns_settings.inc' %] |
| 157 |
<script id="js"> |
157 |
<script id="js"> |
| 158 |
$(document).ready(function() { |
158 |
$(document).ready(function() { |
| 159 |
var columns_settings = [% TablesSettings.GetColumns('members', 'checkouthistory', 'checkouthistory-table', 'json') %]; |
159 |
var table_settings = [% TablesSettings.GetTableSettings('members', 'checkouthistory', 'checkouthistory-table', 'json') %]; |
| 160 |
var table = KohaTable("table_readingrec", { |
160 |
var table = KohaTable("table_readingrec", { |
| 161 |
"sPaginationType": "full", |
161 |
"sPaginationType": "full", |
| 162 |
"aaSorting": [[10, 'desc']] |
162 |
"aaSorting": [[10, 'desc']] |
| 163 |
}, columns_settings); |
163 |
}, table_settings); |
| 164 |
|
164 |
|
| 165 |
$("#tabs a[data-toggle='tab']").on("shown.bs.tab", function (e) { |
165 |
$("#tabs a[data-toggle='tab']").on("shown.bs.tab", function (e) { |
| 166 |
active_tab = $(this).data("tabname"); |
166 |
active_tab = $(this).data("tabname"); |
| 167 |
- |
|
|