mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
FE
This commit is contained in:
@@ -683,7 +683,9 @@ function initializeDatatable (status) {
|
|||||||
|
|
||||||
return JSON.stringify(query); // Send the JSON request
|
return JSON.stringify(query); // Send the JSON request
|
||||||
},
|
},
|
||||||
"dataSrc": function (json) {
|
"dataSrc": function (res) {
|
||||||
|
|
||||||
|
json = res["data"];
|
||||||
// Set the total number of records for pagination
|
// Set the total number of records for pagination
|
||||||
json.recordsTotal = json.devices.count || 0;
|
json.recordsTotal = json.devices.count || 0;
|
||||||
json.recordsFiltered = json.devices.count || 0;
|
json.recordsFiltered = json.devices.count || 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user