From 3ad06bed01ed1b0213adf61a376ae8e4db110822 Mon Sep 17 00:00:00 2001 From: kindlm Date: Fri, 6 Nov 2015 18:21:30 +0100 Subject: [PATCH] =?UTF-8?q?Lehrg=C3=A4nge=20werden=20auch=20nach=20Lehrgan?= =?UTF-8?q?gsart=20sortiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/studiengang.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/studiengang.class.php b/include/studiengang.class.php index 5fe054ce3..0b620510d 100644 --- a/include/studiengang.class.php +++ b/include/studiengang.class.php @@ -237,10 +237,11 @@ class studiengang extends basis_db */ public function getAllForBewerbung() { - $qry = 'SELECT DISTINCT studiengang_kz, typ, organisationseinheittyp_kurzbz, studiengangbezeichnung, standort, studiengangbezeichnung_englisch, lgartcode ' + $qry = 'SELECT DISTINCT studiengang_kz, typ, organisationseinheittyp_kurzbz, studiengangbezeichnung, standort, studiengangbezeichnung_englisch, lgartcode, tbl_lgartcode.bezeichnung ' . 'FROM lehre.vw_studienplan ' + . 'LEFT JOIN bis.tbl_lgartcode USING (lgartcode) ' . 'WHERE onlinebewerbung IS TRUE ' - . 'ORDER BY typ, studiengangbezeichnung ASC'; + . 'ORDER BY typ, studiengangbezeichnung, tbl_lgartcode.bezeichnung ASC'; if(!$result = $this->db_query($qry)) { @@ -889,6 +890,7 @@ class studiengang extends basis_db $obj->kurzbz = $row->kurzbz; $obj->bezeichnung = $row->bezeichnung; $obj->beantragung = $this->db_parse_bool($row->beantragung); + $obj->lgart_biscode = $row->lgart_biscode; $this->result[]= $obj; }