mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
Fix: the query present in the method AllForBewerbung of the model Studiengang_model is changed, now it doesn't work anymore with the view vw_studienplan, that it is deprecated.
This commit is contained in:
@@ -31,9 +31,69 @@ class Studiengang_model extends DB_Model
|
||||
studiengangbezeichnung_englisch,
|
||||
lgartcode,
|
||||
tbl_lgartcode.bezeichnung
|
||||
FROM lehre.vw_studienplan LEFT JOIN bis.tbl_lgartcode USING (lgartcode)
|
||||
WHERE onlinebewerbung IS TRUE
|
||||
AND aktiv IS TRUE
|
||||
FROM (SELECT tbl_organisationseinheit.organisationseinheittyp_kurzbz,
|
||||
tbl_studiengang.oe_kurzbz,
|
||||
tbl_studienordnung.studiengang_kz,
|
||||
tbl_studienplan.studienordnung_id,
|
||||
tbl_studienplan.studienplan_id,
|
||||
tbl_studienplan.orgform_kurzbz,
|
||||
tbl_studienplan.version,
|
||||
tbl_studienplan.bezeichnung,
|
||||
tbl_studienplan.regelstudiendauer,
|
||||
tbl_studienplan.sprache,
|
||||
tbl_studienplan.aktiv,
|
||||
tbl_studienplan.semesterwochen,
|
||||
tbl_studienplan.testtool_sprachwahl,
|
||||
tbl_studienplan.insertamum,
|
||||
tbl_studienplan.insertvon,
|
||||
tbl_studienplan.updateamum,
|
||||
tbl_studienplan.updatevon,
|
||||
tbl_studienordnung.gueltigvon,
|
||||
tbl_studienordnung.gueltigbis,
|
||||
tbl_studienordnung.ects,
|
||||
tbl_studienordnung.studiengangbezeichnung,
|
||||
tbl_studienordnung.studiengangbezeichnung_englisch,
|
||||
tbl_studienordnung.studiengangkurzbzlang,
|
||||
tbl_studienordnung.akadgrad_id,
|
||||
tbl_studiengang.kurzbz,
|
||||
tbl_studiengang.kurzbzlang,
|
||||
tbl_studiengang.typ,
|
||||
tbl_studiengang.english,
|
||||
tbl_studiengang.farbe,
|
||||
tbl_studiengang.email,
|
||||
tbl_studiengang.telefon,
|
||||
tbl_studiengang.max_semester,
|
||||
tbl_studiengang.max_verband,
|
||||
tbl_studiengang.max_gruppe,
|
||||
tbl_studiengang.erhalter_kz,
|
||||
tbl_studiengang.bescheid,
|
||||
tbl_studiengang.bescheidbgbl1,
|
||||
tbl_studiengang.bescheidbgbl2,
|
||||
tbl_studiengang.bescheidgz,
|
||||
tbl_studiengang.bescheidvom,
|
||||
tbl_studiengang.titelbescheidvom,
|
||||
tbl_studiengang.zusatzinfo_html,
|
||||
tbl_studiengang.moodle,
|
||||
tbl_studiengang.studienplaetze,
|
||||
tbl_studiengang.lgartcode,
|
||||
tbl_studiengang.mischform,
|
||||
tbl_studiengang.projektarbeit_note_anzeige,
|
||||
tbl_studiengang.onlinebewerbung,
|
||||
tbl_organisationseinheit.oe_parent_kurzbz,
|
||||
tbl_organisationseinheit.mailverteiler,
|
||||
tbl_organisationseinheit.freigabegrenze,
|
||||
tbl_organisationseinheit.kurzzeichen,
|
||||
tbl_organisationseinheit.lehre,
|
||||
tbl_organisationseinheittyp.beschreibung,
|
||||
tbl_organisationseinheit.standort
|
||||
FROM (((((lehre.tbl_studienplan JOIN lehre.tbl_studienordnung USING (studienordnung_id))
|
||||
JOIN public.tbl_studiengang USING (studiengang_kz))
|
||||
JOIN public.tbl_organisationseinheit USING (oe_kurzbz))
|
||||
JOIN public.tbl_organisationseinheittyp USING (organisationseinheittyp_kurzbz))
|
||||
LEFT JOIN lehre.tbl_studienplan_semester USING (studienplan_id))
|
||||
) t1 LEFT JOIN bis.tbl_lgartcode USING (lgartcode)
|
||||
WHERE t1.onlinebewerbung IS TRUE
|
||||
AND t1.aktiv IS TRUE
|
||||
ORDER BY typ, studiengangbezeichnung, tbl_lgartcode.bezeichnung ASC";
|
||||
|
||||
$result = $this->db->query($allForBewerbungQuery);
|
||||
|
||||
Reference in New Issue
Block a user