Browse Source

Merge pull request #3696 from moisseev/webui

[WebUI] Fix sorting errors by date
tags/3.0
Vsevolod Stakhov 3 years ago
parent
commit
87e73c0dca
No account linked to committer's email address
1 changed files with 8 additions and 1 deletions
  1. 8
    1
      interface/js/app/history.js

+ 8
- 1
interface/js/app/history.js View File

@@ -408,7 +408,14 @@ define(["jquery", "footable"],
function initErrorsTable(rspamd, tables, rows) {
tables.errors = FooTable.init("#errorsLog", {
columns: [
{sorted:true, direction:"DESC", name:"ts", title:"Time", style:{"font-size":"11px", "width":300, "maxWidth":300}},
{
sorted: true,
direction: "DESC",
name: "ts",
title: "Time",
style: {"font-size": "11px", "width": 300, "maxWidth": 300},
sortValue: function (val) { return Number(val.options.sortValue); }
},
{name:"type", title:"Worker type", breakpoints:"xs sm", style:{"font-size":"11px", "width":150, "maxWidth":150}},
{name:"pid", title:"PID", breakpoints:"xs sm", style:{"font-size":"11px", "width":110, "maxWidth":110}},
{name:"module", title:"Module", style:{"font-size":"11px"}},

Loading…
Cancel
Save