select C.uniquename, C.caption ,L.layout_id from rpta_column C, rpta_column2layout L where C.tid=L.column_id and layout_id in\
(select tid from rpta_column_layout where uniquename=<<Spaltenlayout>>) order by 2;^ ^ ^
48454^Bewerbungen^1^0^0^150^200^1^sql^30^0^1^<<SQL>> select '=1 and antrnr=1','Antragsfächer (je 1. Fach des 1. Antrages)' from xdummy union select '=1','Anträge (je 1. Fach)' from xdummy union select '= fachnr and antrnr=1','Antragsfächer (des 1. Antrages)' from xdummy union select '=fachnr','Antragsfächer (alle)' from xdummy order by 2;^^<<SQL>> select '=1 and antrnr=1','Antragsfächer (je 1. Fach des 1. Antrages)' from xdummy;^
@ -107,6 +107,7 @@ and substring('' || tid from 5 for 1)='<<Semestertyp>>'\
@@ -107,6 +107,7 @@ and substring('' || tid from 5 for 1)='<<Semestertyp>>'\
/* and geschlecht = <<Geschlecht>> */\
/* and substring('' || bewsem from 5 for 1)='<<Semestertyp>>' */\
/* and ${<<Filter Studierende>>} */\
/* and fachnr <<Bewerbungen>> */\
" />\
\
<#assign filter= filter + " and " + semester_filter />\