From d62fe41772d3af8dfb504833ec3764789eb6307c Mon Sep 17 00:00:00 2001 From: Manuela Thamer Date: Thu, 8 Oct 2026 07:43:37 +0200 Subject: [PATCH] remove unruly from api endpoint and lib --- application/controllers/api/frontend/v1/stv/Student.php | 2 +- application/libraries/stv/StudentListLib.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/application/controllers/api/frontend/v1/stv/Student.php b/application/controllers/api/frontend/v1/stv/Student.php index 943df7b91..65f57a446 100644 --- a/application/controllers/api/frontend/v1/stv/Student.php +++ b/application/controllers/api/frontend/v1/stv/Student.php @@ -490,7 +490,7 @@ class Student extends FHCAPI_Controller $this->PersonModel->addSelect( 'person_id, vorname, nachname, vornamen, wahlname, gebdatum, staatsbuergerschaft, geburtsnation, sprache, anrede, titelpost, titelpre, gebort, gebzeit, homepage, geschlecht, matr_nr, - aktiv, unruly, tbl_geschlecht.bezeichnung_mehrsprachig AS geschlecht_bezeichnung' + aktiv, tbl_geschlecht.bezeichnung_mehrsprachig AS geschlecht_bezeichnung' ); $this->PersonModel->addJoin('public.tbl_geschlecht', 'geschlecht'); diff --git a/application/libraries/stv/StudentListLib.php b/application/libraries/stv/StudentListLib.php index 9365ddc9a..d17544aab 100644 --- a/application/libraries/stv/StudentListLib.php +++ b/application/libraries/stv/StudentListLib.php @@ -122,7 +122,6 @@ class StudentListLib ) || ' (' || COALESCE(tbl_prestudent.priorisierung::text, ' '::text) || ')' AS priorisierung_relativ", false); $this->addSelect('mentor'); $this->addSelect('b.aktiv AS bnaktiv'); - $this->addSelect('unruly'); // Add default JOINs $this->addJoin('public.tbl_studiengang stg', 'studiengang_kz', 'LEFT');