aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app/symbols.js
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2024-06-10 19:36:25 +0300
committermoisseev <moiseev@mezonplus.ru>2024-06-10 19:36:25 +0300
commitdd0c5d2484ff12767e41b011298324b5939a89d8 (patch)
tree591c9678576eebf76ef64583deef4d5f0132a235 /interface/js/app/symbols.js
parent517d840398f132cdeb7859bec5eb74b0a1e04190 (diff)
downloadrspamd-dd0c5d2484ff12767e41b011298324b5939a89d8.tar.gz
rspamd-dd0c5d2484ff12767e41b011298324b5939a89d8.zip
[WebUI] Fix "Avg. time" column sorting
for Symbols tab
Diffstat (limited to 'interface/js/app/symbols.js')
-rw-r--r--interface/js/app/symbols.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/interface/js/app/symbols.js b/interface/js/app/symbols.js
index aa1403101..a720a696d 100644
--- a/interface/js/app/symbols.js
+++ b/interface/js/app/symbols.js
@@ -197,7 +197,10 @@ define(["jquery", "app/common", "footable"],
title: "Frequency",
breakpoints: "md",
sortValue: function (value) { return Number(value).toFixed(2); }},
- {name: "time", title: "Avg. time", breakpoints: "md"},
+ {name: "time",
+ title: "Avg. time",
+ breakpoints: "md",
+ sortValue: function (value) { return parseFloat(value); }},
],
rows: items[0],
paging: {