relocate repo files so ND2 is the only code
This commit is contained in:
24
share/views/ajax/datatabledefaults.tt
Normal file
24
share/views/ajax/datatabledefaults.tt
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
"processing": true
|
||||
,"stateSave": true
|
||||
,"pageLength": [% settings.table_pagesize %]
|
||||
,"lengthMenu": [% table_showrecordsmenu %]
|
||||
,"dom": '<"top"l<"nd_datatables-pager"p>f>rit<"bottom"><"clear">'
|
||||
,"language": {
|
||||
"search": '_INPUT_'
|
||||
,"searchPlaceholder": 'Filter records...'
|
||||
,"lengthMenu": "Show _MENU_ records."
|
||||
,"info": " Showing _START_ to _END_ of _TOTAL_"
|
||||
,"infoFiltered": "(filtered from _MAX_ total)"
|
||||
,"infoEmpty": " No matching entries"
|
||||
}
|
||||
,"stateSaveParams": function (settings, data) {
|
||||
// make sure filter is never saved
|
||||
data.search.search = "";
|
||||
// make sure paging position is not saved
|
||||
data.start = 0;
|
||||
[% IF is_custom_report %]
|
||||
// disable sorting for custom reports
|
||||
data.order = "";
|
||||
[% END %]
|
||||
}
|
||||
Reference in New Issue
Block a user