Skip to content

Commit

Permalink
feat: sort tags in text/plain version of /dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Aug 4, 2018
1 parent 9a148b8 commit 0a82149
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pact_broker/api/decorators/dashboard_text_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ def index_item_object(index_item)
Line.new(
index_item.consumer_name,
index_item.consumer_version_number,
index_item.tag_names.join(", "),
index_item.tag_names.sort.join(", "),
index_item.provider_name,
index_item.provider_version_number,
index_item.latest_verification_latest_tags.collect(&:name).join(", "),
index_item.latest_verification_latest_tags.collect(&:name).sort.join(", "),
index_item.verification_status.to_s
)
end
Expand Down

0 comments on commit 0a82149

Please sign in to comment.