diff --git a/share/templates/callflow/list.tt b/share/templates/callflow/list.tt index 63450d0a02..764f7ea6a9 100644 --- a/share/templates/callflow/list.tt +++ b/share/templates/callflow/list.tt @@ -6,6 +6,7 @@ helper.messages = messages; helper.dt_columns = capture_dt_columns; helper.length_change = 1; + helper.no_sort = 1; helper.close_target = close_target; helper.create_flag = create_flag; diff --git a/share/templates/helpers/datatables.tt b/share/templates/helpers/datatables.tt index b1da51715c..ecae33cdaa 100644 --- a/share/templates/helpers/datatables.tt +++ b/share/templates/helpers/datatables.tt @@ -52,7 +52,7 @@ $(document).ready(function() { [% ELSE %] "bLengthChange": false, [% END %] - "bSort": true, + "bSort": [% IF helper.no_sort %] false [% ELSE %] true [% END %], "bInfo": true, "iDisplayLength": 5, 'iShowPages': 5,