mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-21 08:52:21 +00:00
Personensuche und Profil berücksichtigt jetzt Studiengänge die keine Alias Adressen bekommen
This commit is contained in:
@@ -263,9 +263,11 @@ class benutzer extends person
|
||||
{
|
||||
$qry = "SELECT * FROM (SELECT
|
||||
distinct on (uid) vorname, nachname, uid, titelpre, titelpost,alias,
|
||||
(SELECT UPPER(tbl_studiengang.typ || tbl_studiengang.kurzbz)
|
||||
(SELECT UPPER(tbl_studiengang.typ || tbl_studiengang.kurzbz)
|
||||
FROM public.tbl_student JOIN public.tbl_studiengang USING(studiengang_kz)
|
||||
WHERE student_uid=tbl_benutzer.uid) as studiengang,
|
||||
(SELECT studiengang_kz FROM public.tbl_student
|
||||
WHERE student_uid=tbl_benutzer.uid) as studiengang_kz,
|
||||
(SELECT tbl_kontakt.kontakt || ' - ' ||telefonklappe
|
||||
FROM public.tbl_mitarbeiter
|
||||
LEFT JOIN public.tbl_kontakt USING(standort_id)
|
||||
@@ -302,6 +304,7 @@ class benutzer extends person
|
||||
$obj->titelpost = $row->titelpost;
|
||||
$obj->uid = $row->uid;
|
||||
$obj->studiengang = $row->studiengang;
|
||||
$obj->studiengang_kz = $row->studiengang_kz;
|
||||
$obj->telefonklappe = $row->klappe;
|
||||
$obj->alias = $row->alias;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user