Lines 264-270
Link Here
|
264 |
<tr> |
264 |
<tr> |
265 |
<th>Category</th> |
265 |
<th>Category</th> |
266 |
<th>Description</th> |
266 |
<th>Description</th> |
267 |
<th> </th> |
267 |
<th class="noExport"> </th> |
268 |
</tr> |
268 |
</tr> |
269 |
</thead> |
269 |
</thead> |
270 |
<tbody> |
270 |
<tbody> |
Lines 298-312
Link Here
|
298 |
[% MACRO jsinclude BLOCK %] |
298 |
[% MACRO jsinclude BLOCK %] |
299 |
[% Asset.js("js/admin-menu.js") | $raw %] |
299 |
[% Asset.js("js/admin-menu.js") | $raw %] |
300 |
[% INCLUDE 'datatables.inc' %] |
300 |
[% INCLUDE 'datatables.inc' %] |
|
|
301 |
[% INCLUDE 'columns_settings.inc' %] |
301 |
<script> |
302 |
<script> |
302 |
$(document).ready(function() { |
303 |
$(document).ready(function() { |
303 |
$(".authorized_values_table").dataTable($.extend(true, {}, dataTablesDefaults, { |
304 |
var columns_settings = []; // Empty because there are no columns we want to be configurable |
|
|
305 |
|
306 |
KohaTable("categoriest", { |
304 |
"aoColumnDefs": [ |
307 |
"aoColumnDefs": [ |
305 |
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, |
308 |
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, |
306 |
], |
309 |
], |
307 |
"aaSorting": [[ 0, "asc" ]], |
310 |
"aaSorting": [[ 0, "asc" ]], |
308 |
"sPaginationType": "full" |
311 |
"sPaginationType": "full" |
309 |
})); |
312 |
}, columns_settings); |
310 |
|
313 |
|
311 |
if ( $("#branches option:selected").length < 1 ) { |
314 |
if ( $("#branches option:selected").length < 1 ) { |
312 |
$("#branches option:first").attr("selected", "selected"); |
315 |
$("#branches option:first").attr("selected", "selected"); |
313 |
- |
|
|