diff options
Diffstat (limited to 'lib/mauve/alert.rb')
-rw-r--r-- | lib/mauve/alert.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mauve/alert.rb b/lib/mauve/alert.rb index eb5f11b..c294e8c 100644 --- a/lib/mauve/alert.rb +++ b/lib/mauve/alert.rb @@ -392,7 +392,7 @@ module Mauve # # def all_raised - all(:raised_at.not => nil, :cleared_at => nil) - all_acknowledged + all(:raised_at.not => nil, :acknowledged_at => nil, :cleared_at => nil) end def all_acknowledged @@ -400,7 +400,7 @@ module Mauve end def all_cleared - all(:cleared_at.not => nil) - all_acknowledged + all(:cleared_at.not => nil, :acknowledged_at => nil) end # Returns a hash of all the :urgent, :normal and :low alerts. |