Skip to content

Commit

Permalink
sort integration tables alphabetically (#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmilan authored Dec 7, 2023
1 parent 2343641 commit a9e11bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _includes/integrations/templates/schemas/schemas.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
{% assign filename = integration.name | append: "-" | append: version | append: "-tables" %}
{% assign tables = site.data.taps.schemas.[integration.name].[version].[filename].tables %}

{% if tables.size > 0 %}
{% assign tables = tables | sort : "name" %}
{% endif %}

{% assign fk-filename = integration.name | append: "-" | append: version | append: "-foreign-keys" %}
{% assign fk-tables = site.data.taps.schemas.[integration.name].[version].[fk-filename].tables %}

Expand Down

0 comments on commit a9e11bf

Please sign in to comment.