From 98626f92bbd8d0a65c6e6202208f73a42c3e5fb1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Peters?= Date: Fri, 22 Jun 2018 09:52:42 +0200 Subject: [PATCH] Add a sort value to frequency; fixes #2298 --- interface/js/app/symbols.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/js/app/symbols.js b/interface/js/app/symbols.js index 7983ccc7f..14223c1ab 100644 --- a/interface/js/app/symbols.js +++ b/interface/js/app/symbols.js @@ -219,7 +219,7 @@ function($) { {"name":"symbol","title":"Symbol","style":{"font-size":"11px"}}, {"name":"description","title":"Description","breakpoints":"xs sm","style":{"font-size":"11px"}}, {"name":"weight","title":"Score","style":{"font-size":"11px"}}, - {"name":"frequency","title":"Frequency","breakpoints":"xs sm","style":{"font-size":"11px"}}, + {"name":"frequency","title":"Frequency","breakpoints":"xs sm","style":{"font-size":"11px"},"sortValue": function(value){return Number(value).toFixed(2)}}, {"name":"time","title":"Avg. time","breakpoints":"xs sm","style":{"font-size":"11px"}}, {"name":"save","title":"Save","style":{"font-size":"11px"}}, ], -- 2.39.5