From a9e11bf7c72018da631e37758b92b9e74305923b Mon Sep 17 00:00:00 2001 From: Lucie Milan <32450552+lmilan@users.noreply.github.com> Date: Thu, 7 Dec 2023 17:38:33 +0100 Subject: [PATCH] sort integration tables alphabetically (#985) --- _includes/integrations/templates/schemas/schemas.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_includes/integrations/templates/schemas/schemas.html b/_includes/integrations/templates/schemas/schemas.html index b3749205e..4c07f24e0 100644 --- a/_includes/integrations/templates/schemas/schemas.html +++ b/_includes/integrations/templates/schemas/schemas.html @@ -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 %}