Skip to content

Commit

Permalink
style: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Nov 6, 2017
1 parent 2a11334 commit a62ff80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/pact_broker/matrix/repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ def find_all selectors, options
query = where_consumer_and_provider_in(selectors, query)
end

# TODO need to order by most recent first, otherwise the limit will give us the oldest rows

query = query.limit(options[:limit]) if options[:limit]

query.order(:verification_executed_at, :verification_id).all
Expand Down

0 comments on commit a62ff80

Please sign in to comment.