diff options
author | moisseev <moiseev@mezonplus.ru> | 2024-06-10 19:36:25 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2024-06-10 19:36:25 +0300 |
commit | dd0c5d2484ff12767e41b011298324b5939a89d8 (patch) | |
tree | 591c9678576eebf76ef64583deef4d5f0132a235 /interface | |
parent | 517d840398f132cdeb7859bec5eb74b0a1e04190 (diff) | |
download | rspamd-dd0c5d2484ff12767e41b011298324b5939a89d8.tar.gz rspamd-dd0c5d2484ff12767e41b011298324b5939a89d8.zip |
[WebUI] Fix "Avg. time" column sorting
for Symbols tab
Diffstat (limited to 'interface')
-rw-r--r-- | interface/js/app/symbols.js | 5 |
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: { |