From dd0c5d2484ff12767e41b011298324b5939a89d8 Mon Sep 17 00:00:00 2001 From: moisseev Date: Mon, 10 Jun 2024 19:36:25 +0300 Subject: [PATCH] [WebUI] Fix "Avg. time" column sorting for Symbols tab --- interface/js/app/symbols.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: { -- 2.39.5