From 0df9385f3360a82aedb45235a8061c4d8f06e2d8 Mon Sep 17 00:00:00 2001 From: Cris Date: Mon, 22 Jul 2024 12:02:08 +0200 Subject: [PATCH] Adapted DB query to filter only Lehrveranstaltungen with lehrtyp_kurzbz 'lv' --- application/models/education/Lehrveranstaltung_model.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/models/education/Lehrveranstaltung_model.php b/application/models/education/Lehrveranstaltung_model.php index de0bcbdbb..0889232a9 100644 --- a/application/models/education/Lehrveranstaltung_model.php +++ b/application/models/education/Lehrveranstaltung_model.php @@ -68,6 +68,8 @@ class Lehrveranstaltung_model extends DB_Model } $qry.= ' + /* filter lv type only */ + AND lv.lehrtyp_kurzbz = \'lv\' /* filter active lehrveranstaltungen */ AND lv.aktiv = TRUE /* filter active organisationseinheiten */ @@ -132,6 +134,8 @@ class Lehrveranstaltung_model extends DB_Model } $qry.= ' + /* filter lv type only */ + AND lv.lehrtyp_kurzbz = \'lv\' /* filter active lehrveranstaltungen */ AND lv.aktiv = TRUE /* filter active organisationseinheiten */