From dd879250f07f208203d7f3ef729b244e865a330c Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Sat, 26 Oct 2019 07:30:03 +1100 Subject: [PATCH] feat(matrix): default page to showing 'latest by consumer version and provider' as it is much quicker and less confusing. --- lib/pact_broker/ui/controllers/matrix.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pact_broker/ui/controllers/matrix.rb b/lib/pact_broker/ui/controllers/matrix.rb index 2b79e6a28..afc7b8d7a 100644 --- a/lib/pact_broker/ui/controllers/matrix.rb +++ b/lib/pact_broker/ui/controllers/matrix.rb @@ -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 = {