Project

General

Profile

« Previous | Next » 

Revision 84d8bcb2

Added by Amos Benari almost 12 years ago

  • ID 84d8bcb2230b2871b7c03fadfa4ca907db9228fc

fixes #1738 Puppet Runtime charts look very messed up.

View differences:

app/models/report.rb
}
# returns recent reports
scope :recent, lambda { |*args| {:conditions => ["reported_at > ?", (args.first || 1.day.ago)]} }
scope :recent, lambda { |*args| {:conditions => ["reported_at > ?", (args.first || 1.day.ago)], :order => "reported_at"} }
# with_changes
scope :interesting, {:conditions => "status != 0"}

Also available in: Unified diff