Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion plugins/systemlogs/api/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,13 @@ plugins.setConfigs("systemlogs", {
if (info.name) {
res[i].name = info.name;
}
if (info.before || info.after) {
res[i].before = JSON.stringify(info.before);
res[i].after = JSON.stringify(info.after);
}
else if (info) {
res[i].value = JSON.stringify(info);
}
}
}
common.returnOutput(paramsNew, {sEcho: paramsNew.qstring.sEcho, iTotalRecords: Math.max(total, 0), iTotalDisplayRecords: count, aaData: res});
Expand Down Expand Up @@ -477,4 +484,4 @@ plugins.setConfigs("systemlogs", {
}
}(pluginOb));

module.exports = pluginOb;
module.exports = pluginOb;
Loading