diff --git a/content/student/studentdetailoverlay.xul.php b/content/student/studentdetailoverlay.xul.php
index be31a147c..2b1acc5bd 100644
--- a/content/student/studentdetailoverlay.xul.php
+++ b/content/student/studentdetailoverlay.xul.php
@@ -515,6 +515,10 @@ echo '';
sort="rdf:http://www.technikum-wien.at/prestudentrolle/rdf#ausbildungssemester"
sorthints="integer"/>
+
+
@@ -555,6 +559,14 @@ echo '';
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/prestudentrolle/rdf#statusgrund" />
+
@@ -565,6 +577,7 @@ echo '';
+
diff --git a/rdf/prestudentrolle.rdf.php b/rdf/prestudentrolle.rdf.php
index 764970557..f60b93050 100644
--- a/rdf/prestudentrolle.rdf.php
+++ b/rdf/prestudentrolle.rdf.php
@@ -34,6 +34,7 @@ require_once('../include/person.class.php');
require_once('../include/prestudent.class.php');
require_once('../include/datum.class.php');
require_once('../include/statusgrund.class.php');
+require_once('../include/student.class.php');
$rdf_url='http://www.technikum-wien.at/prestudentrolle';
$datum = new datum();
@@ -76,8 +77,27 @@ $statusgrund_arr = array();
foreach($statusgrund->result as $row)
$statusgrund_arr[$row->statusgrund_id]=$row->bezeichnung_mehrsprachig[DEFAULT_LANGUAGE];
+$studentlehrverband = new student();
+$uid = $studentlehrverband->getUid($prestudent_id);
+
foreach($ps->result as $row)
{
+ $lehrverband = '-';
+ if ($row->status_kurzbz == 'Student'
+ || $row->status_kurzbz == 'Diplomand'
+ || $row->status_kurzbz == 'Abbrecher'
+ || $row->status_kurzbz == 'Absolvent'
+ || $row->status_kurzbz == 'Ausserodentlicher'
+ || $row->status_kurzbz == 'Incoming'
+ || $row->status_kurzbz == 'Outgoing'
+ || $row->status_kurzbz == 'Unterbrecher')
+ {
+ if ($uid != '')
+ {
+ $studentlehrverband->load_studentlehrverband($uid, $row->studiensemester_kurzbz);
+ $lehrverband = $studentlehrverband->semester.$studentlehrverband->verband.$studentlehrverband->gruppe;
+ }
+ }
echo '
@@ -98,6 +118,7 @@ foreach($ps->result as $row)
rt_stufe.']]>
statusgrund_id.']]>
statusgrund_id])?$statusgrund_arr[$row->statusgrund_id]:'').']]>
+
';