From: Kumar Akshay Date: Wed, 28 Feb 2018 14:55:45 +0000 (-0800) Subject: Fix filter reject on history-page #2010 X-Git-Tag: 1.7.0~99^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c81d77d9e48e12593bfa66e71afb82f46dddfeb0;p=rspamd.git Fix filter reject on history-page #2010 --- diff --git a/interface/js/app/history.js b/interface/js/app/history.js index e0b7aa22b..af941467f 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -457,7 +457,11 @@ function($, _, Humanize) { _onStatusDropdownChanged : function(e) { var self = e.data.self, selected = $(this).val(); if (selected !== self.def) { - self.addFilter('action', selected, [ 'action' ]); + if(selected === "reject"){ + self.addFilter('action', 'reject -soft', [ 'action' ]); + } else { + self.addFilter('action', selected, [ 'action' ]); + } } else { self.removeFilter('action'); }