From: moisseev Date: Mon, 10 Jun 2024 16:36:25 +0000 (+0300) Subject: [WebUI] Fix "Avg. time" column sorting X-Git-Tag: 3.9.0~20^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dd0c5d2484ff12767e41b011298324b5939a89d8;p=rspamd.git [WebUI] Fix "Avg. time" column sorting for Symbols tab --- 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: {