Lines 131-146
Link Here
|
131 |
[% INCLUDE 'columns_settings.inc' %] |
131 |
[% INCLUDE 'columns_settings.inc' %] |
132 |
<script id="js"> |
132 |
<script id="js"> |
133 |
$(document).ready(function() { |
133 |
$(document).ready(function() { |
134 |
var columns_settings = [% TablesSettings.GetColumns('catalogue', 'detail', 'checkoutshistory-table', 'json') %]; |
134 |
var table_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail', 'checkoutshistory-table', 'json') %]; |
135 |
[% UNLESS show_patron_column %] |
135 |
[% UNLESS show_patron_column %] |
136 |
// Remove the patron column definition |
136 |
// Remove the patron column definition |
137 |
columns_settings.splice(0,1); |
137 |
table_settings['columns'].splice(0,1); |
138 |
[% END %] |
138 |
[% END %] |
139 |
var table = KohaTable("table_issues", { |
139 |
var table = KohaTable("table_issues", { |
140 |
"sDom": 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>', |
140 |
"sDom": 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>', |
141 |
"aaSorting": [[ 5, "desc" ]], |
141 |
"aaSorting": [[ 5, "desc" ]], |
142 |
"sPaginationType": "full_numbers" |
142 |
"sPaginationType": "full_numbers" |
143 |
}, columns_settings); |
143 |
}, table_settings); |
144 |
}); |
144 |
}); |
145 |
</script> |
145 |
</script> |
146 |
[% END %] |
146 |
[% END %] |
147 |
- |
|
|