Show page and total records number on DataTables tables
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
2.031013_001 - 2015-03-02
|
||||
2.032000 - 2015-03-02
|
||||
|
||||
[NEW FEATURES]
|
||||
|
||||
* macsuck_unsupported setting to allow node gathering on delinquent switches
|
||||
|
||||
[ENHANCEMENTS]
|
||||
|
||||
* Show page and total records number on DataTables tables
|
||||
|
||||
[BUG FIXES]
|
||||
|
||||
* Only exclude discover_no on Undiscovered Neighbors report when few (<50) results
|
||||
|
||||
@@ -1,15 +1,18 @@
|
||||
|
||||
"processing": true,
|
||||
"stateSave": true,
|
||||
"pageLength": [% settings.table_pagesize %],
|
||||
"lengthMenu": [% table_showrecordsmenu %],
|
||||
"dom": '<"top"l<"nd_datatables-pager"p>f>rt<"bottom"><"clear">',
|
||||
"language": {
|
||||
"search": '_INPUT_',
|
||||
"searchPlaceholder": 'Filter records...',
|
||||
"lengthMenu": "Show _MENU_ records."
|
||||
},
|
||||
"stateSaveParams": function (settings, data) {
|
||||
"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
|
||||
|
||||
Reference in New Issue
Block a user