From 52edf0d3499e7797fe43847ccbac96d66a0b5c81 Mon Sep 17 00:00:00 2001 From: Daniel Quathamer Date: Thu, 31 Oct 2024 14:51:52 +0100 Subject: [PATCH] Bugfix negat. Hochschulsem. #1 --- src-modules/module/xcube/conf/xcube.xml | 48 +++++++++++++++++++ .../schluesseltabellen/xcube_dims_install.sql | 2 +- 2 files changed, 49 insertions(+), 1 deletion(-) diff --git a/src-modules/module/xcube/conf/xcube.xml b/src-modules/module/xcube/conf/xcube.xml index c59b232..5963eaf 100644 --- a/src-modules/module/xcube/conf/xcube.xml +++ b/src-modules/module/xcube/conf/xcube.xml @@ -242,6 +242,54 @@ parent="Xcubes">Abfragen zur Administration von Xcubes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql b/src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql index be90a18..817bb80 100644 --- a/src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql +++ b/src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql @@ -55,7 +55,7 @@ select distinct 'fssemzahl', '99','FS>10',99 from sos_stg_aggr where fach_sem_za <#if TableFieldExists('sos_stg_aggr','hssem')> -delete from xcube_dims where id='hssem'; +delete from xcube_dims where id='hssemzahl'; INSERT INTO xcube_dims (id,apnr,name,sort1) select distinct 'hssemzahl',hssem::varchar(10),hssem||'.HS',hssem from sos_stg_aggr where hssem between 0 and 10;