Skip to content

Commit

Permalink
fix(matrix ui): fix provider version sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Jan 25, 2018
1 parent 869d49d commit 611ab7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pact_broker/ui/view_models/matrix_line.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def provider_version_number_url
end

def provider_version_order
if @line[:execution_date]
@line[:execution_date].to_time.to_i
if @line[:verification_executed_at]
@line[:verification_executed_at].to_time.to_i
else
0
end
Expand Down

0 comments on commit 611ab7e

Please sign in to comment.