|
Lines 11-28
Link Here
|
| 11 |
//<![CDATA[ |
11 |
//<![CDATA[ |
| 12 |
$(document).ready(function() { |
12 |
$(document).ready(function() { |
| 13 |
var osrlt = $("#osrlt").dataTable($.extend(true, {}, dataTablesDefaults, { |
13 |
var osrlt = $("#osrlt").dataTable($.extend(true, {}, dataTablesDefaults, { |
| 14 |
[% IF ( routing && CAN_user_serials_routing ) %] |
|
|
| 15 |
"aoColumnDefs": [ |
14 |
"aoColumnDefs": [ |
|
|
15 |
[% IF ( routing && CAN_user_serials_routing ) %] |
| 16 |
{ "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false }, |
16 |
{ "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false }, |
| 17 |
], |
|
|
| 18 |
[% ELSE %] |
17 |
[% ELSE %] |
| 19 |
"aoColumnDefs": [ |
|
|
| 20 |
{ "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, |
18 |
{ "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, |
| 21 |
], |
|
|
| 22 |
[% END %] |
19 |
[% END %] |
| 23 |
"aoColumns": [ |
20 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] }, |
| 24 |
null,{ "sType": "anti-the" },null,null,null,null,{ "sType": "title-string" } |
21 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] } |
| 25 |
[% IF ( routing && CAN_user_serials_routing ) %],null[% END %],null,null |
|
|
| 26 |
], |
22 |
], |
| 27 |
"sPaginationType": "four_button" |
23 |
"sPaginationType": "four_button" |
| 28 |
} ) ); |
24 |
} ) ); |
|
Lines 31-39
Link Here
|
| 31 |
// FIXME sort function of additional_fields! |
27 |
// FIXME sort function of additional_fields! |
| 32 |
"aoColumnDefs": [ |
28 |
"aoColumnDefs": [ |
| 33 |
{ "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, |
29 |
{ "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, |
| 34 |
], |
30 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] }, |
| 35 |
"aoColumns": [ |
|
|
| 36 |
null,{ "sType": "anti-the" },null,null,null,null,null,null |
| 37 |
], |
31 |
], |
| 38 |
"sPaginationType": "four_button" |
32 |
"sPaginationType": "four_button" |
| 39 |
} ) ); |
33 |
} ) ); |
| 40 |
- |
|
|