|
Lines 194-207
Link Here
|
| 194 |
[% MACRO jsinclude BLOCK %] |
194 |
[% MACRO jsinclude BLOCK %] |
| 195 |
[% INCLUDE 'datatables.inc' %] |
195 |
[% INCLUDE 'datatables.inc' %] |
| 196 |
<script> |
196 |
<script> |
| 197 |
$(document).ready(function() { |
197 |
var table_settings = [% TablesSettings.GetTableSettings( 'reports', 'lostitems', 'lostitems-table', 'json' ) | $raw %]; |
| 198 |
var table_settings = [% TablesSettings.GetTableSettings( 'reports', 'lostitems', 'lostitems-table', 'json' ) | $raw %]; |
198 |
[% IF csv_profiles.count %] |
| 199 |
[% IF csv_profiles.count %] |
199 |
// Add the first (checkbox) column if it is displayed |
| 200 |
// Add the first (checkbox) column if it is displayed |
200 |
// FIXME This cannot work without bKohaColumnsUseNames |
| 201 |
// FIXME This cannot work without bKohaColumnsUseNames |
201 |
table_settings['columns'].unshift({cannot_be_modified: 1, cannot_be_toggled: 1, columnname: 'itemnumber', is_hidden: 0}); |
| 202 |
table_settings['columns'].unshift({cannot_be_modified: 1, cannot_be_toggled: 1, columnname: 'itemnumber', is_hidden: 0}); |
202 |
[% END %] |
| 203 |
[% END %] |
203 |
</script> |
| 204 |
|
204 |
|
|
|
205 |
<script> |
| 206 |
$(document).ready(function() { |
| 205 |
var lostitems_table = $("#lostitems-table").kohaTable( |
207 |
var lostitems_table = $("#lostitems-table").kohaTable( |
| 206 |
{ |
208 |
{ |
| 207 |
order: [], |
209 |
order: [], |
| 208 |
- |
|
|