Skip to content

Commit 0a82149

Browse files
committed
feat: sort tags in text/plain version of /dashboard
1 parent 9a148b8 commit 0a82149

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/pact_broker/api/decorators/dashboard_text_decorator.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ def index_item_object(index_item)
3737
Line.new(
3838
index_item.consumer_name,
3939
index_item.consumer_version_number,
40-
index_item.tag_names.join(", "),
40+
index_item.tag_names.sort.join(", "),
4141
index_item.provider_name,
4242
index_item.provider_version_number,
43-
index_item.latest_verification_latest_tags.collect(&:name).join(", "),
43+
index_item.latest_verification_latest_tags.collect(&:name).sort.join(", "),
4444
index_item.verification_status.to_s
4545
)
4646
end

0 commit comments

Comments
 (0)