From ee1f828da6eff248f0c40ddd21c9d0f3b55eb753 Mon Sep 17 00:00:00 2001 From: Daniel Quathamer Date: Mon, 8 Jun 2026 11:59:24 +0200 Subject: [PATCH] Bugfix Spaltentyp Sicht Aggregation #15 --- .../module/rpta/schluesseltabellen/fm_templates.unl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src-modules/module/rpta/schluesseltabellen/fm_templates.unl b/src-modules/module/rpta/schluesseltabellen/fm_templates.unl index 5fa5c78..2213c19 100644 --- a/src-modules/module/rpta/schluesseltabellen/fm_templates.unl +++ b/src-modules/module/rpta/schluesseltabellen/fm_templates.unl @@ -1,4 +1,4 @@ -47^RPTA-Makros^<#macro rpta_column_layout_fuellen>\ +175^RPTA-Makros^<#macro rpta_column_layout_fuellen>\ CREATE temp TABLE tmp_rpta_column\ (\ uniquename varchar(255) NOT NULL,\ @@ -377,7 +377,7 @@ select '${removeEmptyLines}';\ <#if columnLayoutHasTreeColumn==1>\ <#assign columnLayoutWithTreeColumnAdditionalGrouping=sichtHasAdditionalGrouping(treeColumnTargetFieldname) />\ \ - --Sichtaufbau:\ + --Sichtaufbau :\ --Zuerst leere Zieltabelle anlegen:\ select \ <#foreach column in columns>\ @@ -496,8 +496,9 @@ select '${removeEmptyLines}';\ from xdummy left outer join tmp_stud on (\ ${treeColumnSrcFieldname} in ${einElement.subkeys})\ \ - \ + <#if columnLayoutWithTreeColumnAdditionalGrouping !="">\ group by ${columnLayoutWithTreeColumnAdditionalGrouping}\ + \ ;\ \ \