diff options
Diffstat (limited to 'app/finders/alert_management/alerts_finder.rb')
-rw-r--r-- | app/finders/alert_management/alerts_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/alert_management/alerts_finder.rb b/app/finders/alert_management/alerts_finder.rb index b4f66a38faa..1fbc1a4a258 100644 --- a/app/finders/alert_management/alerts_finder.rb +++ b/app/finders/alert_management/alerts_finder.rb @@ -46,7 +46,7 @@ module AlertManagement def by_status(collection) values = AlertManagement::Alert.status_names & Array(params[:status]) - values.present? ? collection.for_status(values) : collection + values.present? ? collection.with_status(values) : collection end def by_search(collection) |