mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 01:26:11 -08:00
FE
This commit is contained in:
@@ -683,7 +683,9 @@ function initializeDatatable (status) {
|
||||
|
||||
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
|
||||
json.recordsTotal = json.devices.count || 0;
|
||||
json.recordsFiltered = json.devices.count || 0;
|
||||
|
||||
Reference in New Issue
Block a user