resque-mongo-groups 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/resque_groups.rb +1 -1
- data/lib/resque_groups/version.rb +1 -1
- metadata +1 -1
data/lib/resque_groups.rb
CHANGED
@@ -98,7 +98,7 @@ module Resque::Plugins::Groups
|
|
98
98
|
end
|
99
99
|
|
100
100
|
def groups_stats(start, count)
|
101
|
-
job_groups.find({}, :skip => start, :limit => count, :sort => ['
|
101
|
+
job_groups.find({}, :skip => start, :limit => count, :sort => ['started_at', -1]).to_a
|
102
102
|
end
|
103
103
|
|
104
104
|
def groups_count
|