From c649bf3fbe24a04180ff1a3207de60934bd4a06d Mon Sep 17 00:00:00 2001 From: Cris Date: Mon, 8 Apr 2019 13:26:33 +0200 Subject: [PATCH] Fixed double basic gebiet-entries in Reihungstest This issue popped up when basic gebiete of many Bachelor studies could not be merged (with unique gebiete) due to different reihung. This is fixed now. --- cis/testtool/menu.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cis/testtool/menu.php b/cis/testtool/menu.php index ed63324a3..cb1feb67e 100644 --- a/cis/testtool/menu.php +++ b/cis/testtool/menu.php @@ -193,7 +193,8 @@ if (isset($_SESSION['pruefling_id'])) ) - SELECT DISTINCT + SELECT DISTINCT ON + (gebiet_id, semester) semester, gebiet_id, bezeichnung, @@ -252,6 +253,7 @@ if (isset($_SESSION['pruefling_id'])) ORDER BY semester, + gebiet_id, reihung ";