Spalte "Mentor" in der Tabelle "Studenten" ergänzt

This commit is contained in:
Nikolaus Krondraf
2014-10-28 07:20:38 +00:00
parent 7ff4f8347e
commit 2bb4812d7d
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -271,6 +271,10 @@ else
<treecol id="student-treecol-studienplan" label="Studienplan" flex="1" hidden="false" persist="hidden, width, ordinal"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/student/rdf#studienplan_bezeichnung" onclick="StudentTreeSort()"/>
<splitter class="tree-splitter"/>
<treecol id="student-treecol-mentor" label="Mentor" flex="1" hidden="true" persist="hidden, width, ordinal"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/student/rdf#mentor" onclick="StudentTreeSort()"/>
<splitter class="tree-splitter"/>
</treecols>
@@ -311,6 +315,7 @@ else
<treecell label="rdf:http://www.technikum-wien.at/student/rdf#dual_bezeichnung" />
<treecell label="rdf:http://www.technikum-wien.at/student/rdf#matr_nr" />
<treecell label="rdf:http://www.technikum-wien.at/student/rdf#studienplan_bezeichnung" />
<treecell label="rdf:http://www.technikum-wien.at/student/rdf#mentor" />
</treerow>
</treeitem>
</treechildren>
+2 -1
View File
@@ -180,6 +180,7 @@ function draw_content_liste($row)
<STUDENT:dual><![CDATA['.($row->dual=='t'?'true':'false').']]></STUDENT:dual>
<STUDENT:dual_bezeichnung><![CDATA['.($row->dual=='t'?'Ja':'Nein').']]></STUDENT:dual_bezeichnung>
<STUDENT:matr_nr><![CDATA['.$row->matr_nr.']]></STUDENT:matr_nr>
<STUDENT:mentor><![CDATA['.$row->mentor.']]></STUDENT:mentor>
</RDF:Description>
</RDF:li>';
}
@@ -401,7 +402,7 @@ if($xmlformat=='rdf')
$sql_query="SELECT p.person_id, tbl_student.prestudent_id, tbl_benutzer.uid, titelpre, titelpost, vorname, vornamen, geschlecht,
nachname, gebdatum, tbl_prestudent.anmerkung,ersatzkennzeichen,svnr, tbl_student.matrikelnr, p.anmerkung as anmerkungen,
tbl_studentlehrverband.semester, tbl_studentlehrverband.verband, tbl_studentlehrverband.gruppe,
tbl_student.studiengang_kz, aufmerksamdurch_kurzbz,
tbl_student.studiengang_kz, aufmerksamdurch_kurzbz, mentor,
( SELECT kontakt
FROM public.tbl_kontakt
WHERE kontakttyp='email' AND person_id=p.person_id AND zustellung