From c81d77d9e48e12593bfa66e71afb82f46dddfeb0 Mon Sep 17 00:00:00 2001 From: Kumar Akshay Date: Wed, 28 Feb 2018 06:55:45 -0800 Subject: [PATCH] Fix filter reject on history-page #2010 --- interface/js/app/history.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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'); } -- 2.39.5