From 167ee461bd8d5d3451ca72ef0b184573760b6a39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Tue, 10 Apr 2018 08:54:26 +0200 Subject: [PATCH] =?UTF-8?q?Problem=20behoben=20wodurch=20nicht=20alle=20St?= =?UTF-8?q?udieng=C3=A4nge=20in=20der=20Bewerberstatistik=20sichtbar=20war?= =?UTF-8?q?en?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/statistik/bewerberstatistik.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/statistik/bewerberstatistik.php b/content/statistik/bewerberstatistik.php index be5aeda56..99afa7d9b 100644 --- a/content/statistik/bewerberstatistik.php +++ b/content/statistik/bewerberstatistik.php @@ -229,7 +229,7 @@ if (isset($_GET['excel'])) $maxlength[$i] = 3; //Tabellenzeilen - $stgs = $rechte->getStgKz(); + $stgs = $rechte->getStgKz('assistenz'); if ($stgs[0] == '') $stgwhere = ''; @@ -756,7 +756,7 @@ if (isset($_GET['excel'])) //zweites Blatt mit Statistik des Vorjahres zum gleichen Datum if (!$mail) { - $stgs = $rechte->getStgKz(); + $stgs = $rechte->getStgKz('assistenz'); if ($stgs[0] == '') $stgwhere = ''; @@ -1451,7 +1451,7 @@ else { if (!$mail) { - $stgs = $rechte->getStgKz(); + $stgs = $rechte->getStgKz('assistenz'); if ($stgs[0] == '') $stgwhere = ''; @@ -1838,7 +1838,7 @@ else // Bewerberstatistik fuer Vorjahr (selbes Datum) if (!$mail) { - $stgs = $rechte->getStgKz(); + $stgs = $rechte->getStgKz('assistenz'); if ($stgs[0] == '') $stgwhere = ''; @@ -2208,7 +2208,7 @@ function generateMischformenQuery($orgform_arr, $stsem, $ausgeschieden, $stgwher foreach ($orgform_arr as $row_orgform) { - $qry .= " (SELECT count(*) FROM public.tbl_prestudent JOIN public.tbl_prestudentstatus USING (prestudent_id) + $qry .= " (SELECT count(*) FROM public.tbl_prestudent JOIN public.tbl_prestudentstatus USING (prestudent_id) WHERE studiengang_kz=stg.studiengang_kz AND status_kurzbz='Interessent' AND studiensemester_kurzbz=".$db->db_add_param($stsem)." AND orgform_kurzbz=".$db->db_add_param($row_orgform).") AS interessenten_".$row_orgform.","; $qry .= " (SELECT count(*) FROM public.tbl_prestudent JOIN public.tbl_prestudentstatus USING (prestudent_id)