From: André Peters Date: Fri, 22 Jun 2018 07:52:42 +0000 (+0200) Subject: Add a sort value to frequency; fixes #2298 X-Git-Tag: 1.7.7~38^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2301%2Fhead;p=thirdparty%2Frspamd.git Add a sort value to frequency; fixes #2298 --- diff --git a/interface/js/app/symbols.js b/interface/js/app/symbols.js index 7983ccc7f0..14223c1abd 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"}}, ],