From b39c684d7e16f48c173dd859a8eeb8e370f5c50e Mon Sep 17 00:00:00 2001 From: Daniel Quathamer Date: Tue, 27 Jan 2026 07:57:15 +0100 Subject: [PATCH] Bugfix Personal-Spaltenleyouts Spaltentyp #13 --- .../module/rpta/masken/48110_maskeninfo.unl | 2 +- .../module/rpta/masken/48180_maskeninfo.unl | 2 +- .../module/rpta/masken/48220_maskeninfo.unl | 2 +- .../module/rpta/masken/48250_felderinfo.unl | 4 +- .../module/rpta/masken/48250_maskeninfo.unl | 4 +- .../module/rpta/masken/48280_maskeninfo.unl | 2 +- .../module/rpta/masken/48310_maskeninfo.unl | 2 +- superx/xml/rpta_assistent.xsl | 64 +++++++++++++++++-- 8 files changed, 69 insertions(+), 13 deletions(-) diff --git a/src-modules/module/rpta/masken/48110_maskeninfo.unl b/src-modules/module/rpta/masken/48110_maskeninfo.unl index c2cee3c..2e78ea4 100644 --- a/src-modules/module/rpta/masken/48110_maskeninfo.unl +++ b/src-modules/module/rpta/masken/48110_maskeninfo.unl @@ -109,4 +109,4 @@ Column CID=0 heading_text="${column.caption}" center_heading explanation="${colu width=${column.visible_width} text_size=60\ \ \ -@@@^Studienfach^Anzahl bzw. Anteil^Leistungen und Studiengänge^drop table if exists tmp_stud2; drop table if exists tmp_stud3;^^2^850^540^^1^<>SELECT description FROM rpta_column_layout where tid=<>;^ +@@@^Studienfach^Anzahl bzw. Anteil^Leistungen und Studiengänge^drop table if exists tmp_stud2; drop table if exists tmp_stud3;^^2^850^540^^1^<>SELECT description FROM rpta_column_layout where uniquename=<>;^ diff --git a/src-modules/module/rpta/masken/48180_maskeninfo.unl b/src-modules/module/rpta/masken/48180_maskeninfo.unl index d16b409..899a7a4 100644 --- a/src-modules/module/rpta/masken/48180_maskeninfo.unl +++ b/src-modules/module/rpta/masken/48180_maskeninfo.unl @@ -271,4 +271,4 @@ Column CID=0 heading_text="${column.caption}" center_heading explanation="${colu width=${column.visible_width} text_size=60\ \ \ -@@@^Studienfach^Anzahl bzw. Anteil^Datenblatt Studierendenstatistik^drop table if exists tmp_stud2; drop table if exists tmp_stud3;^^2^850^540^^1^<>SELECT description FROM rpta_column_layout where tid=<>;^ +@@@^Studienfach^Anzahl bzw. Anteil^Datenblatt Studierendenstatistik^drop table if exists tmp_stud2; drop table if exists tmp_stud3;^^2^850^540^^1^<>SELECT description FROM rpta_column_layout where uniquename=<>;^ diff --git a/src-modules/module/rpta/masken/48220_maskeninfo.unl b/src-modules/module/rpta/masken/48220_maskeninfo.unl index 1c08df2..1207b58 100644 --- a/src-modules/module/rpta/masken/48220_maskeninfo.unl +++ b/src-modules/module/rpta/masken/48220_maskeninfo.unl @@ -163,4 +163,4 @@ Column CID=0 heading_text="${column.caption}" center_heading explanation="${colu width=${column.visible_width} text_size=60\ \ \ -@@@^^^Übersicht über vorberechnete Kennzahlen^drop table if exists tmp_stud2; drop table if exists tmp_stud3;^^1^600^360^0^^<>SELECT description FROM rpta_column_layout where tid=<>;^ +@@@^^^Übersicht über vorberechnete Kennzahlen^drop table if exists tmp_stud2; drop table if exists tmp_stud3;^^1^600^360^0^^<>SELECT description FROM rpta_column_layout where uniquename=<>;^ diff --git a/src-modules/module/rpta/masken/48250_felderinfo.unl b/src-modules/module/rpta/masken/48250_felderinfo.unl index f50223a..e669499 100644 --- a/src-modules/module/rpta/masken/48250_felderinfo.unl +++ b/src-modules/module/rpta/masken/48250_felderinfo.unl @@ -10,13 +10,13 @@ select C.uniquename, C.caption ,L.layout_id from rpta_column C, rpta_column2layo 48257^Filter Personal^120^310^-1^100^300^1^sql^20^0^1^<> select id,caption from sx_repository where aktiv =1 and today() between gueltig_seit and gueltig_bis and art='SVA_PERS_FILTER' order by 2;^^^ 48258^Kostenstelle (Person)^70^350^-1^150^150^1^char^30^0^12^<> select tid,type,name,sortnr from sichten where art in ('SVA-Kostenstellen-Sicht','SVA-spez-Kostenstellen-Sicht','SVA-Kst-spezial') and aktiv=1 order by sortnr,type,name;^hidden^^ 48259^Alter (bis)^21^170^-1^100^70^1^integer^5^0^0^^^^ -48260^Spaltenlayout^3000^350^-1^140^180^1^integer^50^1^1^<>SELECT tid,\ +48260^Spaltenlayout^3000^350^-1^140^180^1^char^50^1^1^<>SELECT uniquename,\ caption\ FROM rpta_column_layout \ where resultset_id in (select R.tid from rpta_resultset R where R.uniquename='sva_pbv_aggr_pgd'\ and R.systeminfo_id=6)\ order by sortnr, caption\ - ;^^<>SELECT tid,\ + ;^^<>SELECT uniquename,\ caption\ FROM rpta_column_layout \ where resultset_id in (select R.tid from rpta_resultset R where R.uniquename='sva_pbv_aggr_pgd'\ diff --git a/src-modules/module/rpta/masken/48250_maskeninfo.unl b/src-modules/module/rpta/masken/48250_maskeninfo.unl index 7c20c5d..fcdc6c0 100644 --- a/src-modules/module/rpta/masken/48250_maskeninfo.unl +++ b/src-modules/module/rpta/masken/48250_maskeninfo.unl @@ -39,7 +39,7 @@ select L.uniquename,\ from rpta_resultset R, rpta_column_layout L\ where L.resultset_id=R.tid\ and R.uniquename='${basetable.name}'\ - and L.tid=<>;\ + and L.uniquename=<>;\ \ ]]>\ >\ +and L.uniquename=<>\ /* and C.uniquename in (<>) */\ order by CL.sortnr\ ;\ diff --git a/src-modules/module/rpta/masken/48280_maskeninfo.unl b/src-modules/module/rpta/masken/48280_maskeninfo.unl index 16a8de4..95b208e 100644 --- a/src-modules/module/rpta/masken/48280_maskeninfo.unl +++ b/src-modules/module/rpta/masken/48280_maskeninfo.unl @@ -139,4 +139,4 @@ Column CID=0 heading_text="${column.caption}" center_heading explanation="${colu width=${column.visible_width} text_size=60\ \ \ -@@@^ ^ ^Übersicht über vorberechnete Kennzahlen^drop table if exists tmp_stud2; drop table if exists tmp_stud3;^^1^600^360^^0^<>SELECT description FROM rpta_column_layout where tid=<>;^ +@@@^ ^ ^Übersicht über vorberechnete Kennzahlen^drop table if exists tmp_stud2; drop table if exists tmp_stud3;^^1^600^360^^0^<>SELECT description FROM rpta_column_layout where uniquename=<>;^ diff --git a/src-modules/module/rpta/masken/48310_maskeninfo.unl b/src-modules/module/rpta/masken/48310_maskeninfo.unl index 3017140..3b31014 100644 --- a/src-modules/module/rpta/masken/48310_maskeninfo.unl +++ b/src-modules/module/rpta/masken/48310_maskeninfo.unl @@ -199,4 +199,4 @@ Column CID=0 heading_text="sortnr" center_heading explanation=""\ row_selectable heading_platform readonly\ width=5 text_size=60\ \ -@@@^Studienfach^Anzahl bzw. Anteil^Übergang nach Abschluss zu einem neuen Studiengang oder vorheriger Abschluss bei Studienbeginn^drop table if exists tmp_stud2; drop table if exists tmp_stud3;^^2^850^540^^1^<>SELECT description FROM rpta_column_layout where tid=<>;^ +@@@^Studienfach^Anzahl bzw. Anteil^Übergang nach Abschluss zu einem neuen Studiengang oder vorheriger Abschluss bei Studienbeginn^drop table if exists tmp_stud2; drop table if exists tmp_stud3;^^2^850^540^^1^<>SELECT description FROM rpta_column_layout where uniquename=<>;^ diff --git a/superx/xml/rpta_assistent.xsl b/superx/xml/rpta_assistent.xsl index a42f65b..35fd2d9 100644 --- a/superx/xml/rpta_assistent.xsl +++ b/superx/xml/rpta_assistent.xsl @@ -1116,22 +1116,47 @@ function deeplink_dialog()