diff --git a/application/views/system/issues/issuesData.php b/application/views/system/issues/issuesData.php index ce05ecf8a..418f0ead1 100644 --- a/application/views/system/issues/issuesData.php +++ b/application/views/system/issues/issuesData.php @@ -56,7 +56,7 @@ $query .= "SELECT issue_id, fehlercode AS \"Fehlercode\", iss.fehlercode_extern WHERE person_id = pers.person_id ORDER BY prestudent_id DESC ) prestudents - WHERE last_status IN ('Aufgenommener', 'Student', 'Incoming', 'Diplomand', 'Abbrecher', 'Unterbrecher', 'Absolvent') + WHERE last_status IN ('Abgewiesener','Aufgenommener', 'Student', 'Incoming', 'Diplomand', 'Abbrecher', 'Unterbrecher', 'Absolvent') GROUP BY person_id LIMIT 1; ) AS \"Zugehörigkeit\", @@ -89,7 +89,9 @@ $query .= "SELECT issue_id, fehlercode AS \"Fehlercode\", iss.fehlercode_extern LEFT JOIN public.tbl_funktion fu USING (funktion_kurzbz) WHERE fehlercode = fr.fehlercode GROUP BY fehlercode - ) AS \"Organisationseinheit Zuständigkeiten\" + ) AS \"Organisationseinheit Zuständigkeiten\", + pers.bpk AS \"BPK\", + pers.matr_nr AS \"Matrikelnummer\" FROM system.tbl_issue iss JOIN system.tbl_fehler fr USING (fehlercode) JOIN system.tbl_fehlertyp ftyp USING (fehlertyp_kurzbz) @@ -172,7 +174,9 @@ $filterWidgetArray = array( ucfirst($this->p->t('fehlermonitoring', 'zugehoerigkeit')), ucfirst($this->p->t('fehlermonitoring', 'hauptzustaendig')), ucfirst($this->p->t('fehlermonitoring', 'zustaendigePersonen')), - ucfirst($this->p->t('fehlermonitoring', 'zustaendigeOrganisationseinheiten')) + ucfirst($this->p->t('fehlermonitoring', 'zustaendigeOrganisationseinheiten')), + 'BPK', + 'Matrikelnummer' ), 'formatRow' => function($datasetRaw) { @@ -221,6 +225,16 @@ $filterWidgetArray = array( $datasetRaw->{'Organisationseinheit Zuständigkeiten'} = '-'; } + if ($datasetRaw->{'BPK'} == null) + { + $datasetRaw->{'BPK'} = '-'; + } + + if ($datasetRaw->{'Matrikelnummer'} == null) + { + $datasetRaw->{'Matrikelnummer'} = '-'; + } + return $datasetRaw; }, 'markRow' => function($datasetRaw) { diff --git a/locale/de-AT/testtool.php b/locale/de-AT/testtool.php index dbafe21e9..3e69306b3 100644 --- a/locale/de-AT/testtool.php +++ b/locale/de-AT/testtool.php @@ -71,7 +71,6 @@ $this->phrasen['testtool/einfuehrungsText']='