Skip to content

Commit 4b91345

Browse files
author
Lucie Milan
committed
sort integration tables alphabetically
1 parent 2343641 commit 4b91345

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

_includes/integrations/templates/schemas/schemas.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
{% assign filename = integration.name | append: "-" | append: version | append: "-tables" %}
88
{% assign tables = site.data.taps.schemas.[integration.name].[version].[filename].tables %}
99

10+
{% if tables.size > 0 %}
11+
{% assign tables = tables | sort : "name" %}
12+
{% endif %}
13+
1014
{% assign fk-filename = integration.name | append: "-" | append: version | append: "-foreign-keys" %}
1115
{% assign fk-tables = site.data.taps.schemas.[integration.name].[version].[fk-filename].tables %}
1216

0 commit comments

Comments
 (0)