Prestudent History: add prestudent_id

This commit is contained in:
cgfhtw
2024-06-26 11:08:00 +02:00
parent c679e12d16
commit c8f0bdd6d7
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -709,7 +709,7 @@ class Prestudent_model extends DB_Model
{
$query = "
SELECT ps.studiensemester_kurzbz, p.priorisierung, p.studiengang_kz, sg.kurzbzlang, sg.orgform_kurzbz, ps.status_kurzbz, s.student_uid, sp.bezeichnung, ps.ausbildungssemester,
CONCAT(ps.status_kurzbz, ' (', ps.ausbildungssemester, '. Semester)') as status
CONCAT(ps.status_kurzbz, ' (', ps.ausbildungssemester, '. Semester)') as status, p.prestudent_id
FROM public.tbl_prestudent p
JOIN (
SELECT DISTINCT ON(prestudent_id) *
@@ -21,7 +21,8 @@ export default{
{title:"Orgform", field:"orgform_kurzbz"},
{title:"Studienplan", field:"bezeichnung"},
{title:"UID", field:"student_uid"},
{title:"Status", field:"status"}
{title:"Status", field:"status"},
{title:"PrestudentId", field:"prestudent_id", visible:false}
],
layout: 'fitDataFill',
layoutColumnsOnNewData: false,