Skip to content

Commit

Permalink
feat(matrix): default page to showing 'latest by consumer version and…
Browse files Browse the repository at this point in the history
… provider' as it is much quicker and less confusing.
  • Loading branch information
bethesque committed Oct 25, 2019
1 parent 3c504ba commit dd87925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact_broker/ui/controllers/matrix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Matrix < Base

get "/provider/:provider_name/consumer/:consumer_name" do
selectors = [{ pacticipant_name: params[:consumer_name] }, { pacticipant_name: params[:provider_name] } ]
options = {latestby: nil, limit: 100}
options = {latestby: 'cvpv', limit: 100}
lines = matrix_service.find(selectors, options)
lines = PactBroker::UI::ViewDomain::MatrixLines.new(lines)
locals = {
Expand Down

0 comments on commit dd87925

Please sign in to comment.