summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-24 12:13:38 +0100
committerGitHub <noreply@github.com>2018-06-24 12:13:38 +0100
commit395ae290f7546e4b82933573ce9912995f282bb3 (patch)
treec1fca13a8c60de76184a4eb47cd507475f8532c3
parent7fc644390be714f0b01be036859edae60c04e531 (diff)
parent98626f92bbd8d0a65c6e6202208f73a42c3e5fb1 (diff)
downloadrspamd-395ae290f7546e4b82933573ce9912995f282bb3.tar.gz
rspamd-395ae290f7546e4b82933573ce9912995f282bb3.zip
Merge pull request #2301 from andryyy/patch-13
Add a sort value to frequency; fixes #2298
-rw-r--r--interface/js/app/symbols.js2
1 files changed, 1 insertions, 1 deletions
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"}},
],