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: https://source.dussan.org/?a=commitdiff_plain;h=98626f92bbd8d0a65c6e6202208f73a42c3e5fb1;p=rspamd.git Add a sort value to frequency; fixes #2298 --- 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"}}, ],