aboutsummaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
authorAndré Peters <andre.peters@debinux.de>2018-06-22 09:52:42 +0200
committerGitHub <noreply@github.com>2018-06-22 09:52:42 +0200
commit98626f92bbd8d0a65c6e6202208f73a42c3e5fb1 (patch)
tree8221a5530f9d1ec890011b10ba6e233519d34754 /interface
parent4e1d3a991c9fa13bbfba7cb6a841c4d59fe3b0af (diff)
downloadrspamd-98626f92bbd8d0a65c6e6202208f73a42c3e5fb1.tar.gz
rspamd-98626f92bbd8d0a65c6e6202208f73a42c3e5fb1.zip
Add a sort value to frequency; fixes #2298
Diffstat (limited to 'interface')
-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"}},
],