qol: use unified exporting for logs

This commit is contained in:
Gary Sharp
2024-12-14 16:49:31 +11:00
parent a6b9cd1af2
commit 8abe31f430
14 changed files with 321 additions and 240 deletions
@@ -8,6 +8,7 @@
<h2>Documents Imported Today
</h2>
<div id="importStatus">
@Html.AntiForgeryToken()
<div id="noSessions" data-bind="visible: noSessions">
<h3>No imported documents today</h3>
</div>
@@ -280,7 +281,8 @@
Start: d.getFullYear() + '-' + (d.getMonth() + 1) + '-' + d.getDate(),
End: null,
ModuleId: 40,
Take: 2000
Take: 2000,
'__RequestVerificationToken': host.find('input[name="__RequestVerificationToken"]').val()
};
$.ajax({
url: '@(Url.Action(MVC.API.Logging.RetrieveEvents()))',