From be7527e994e69233e5f1c0ce7aa94644418a5974 Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Tue, 22 Sep 2026 09:52:09 +0200 Subject: [PATCH 1/3] increase length of column taglib in table public.tbl_notiz_typ --- .../75959_StudVw_Automatische_Tags.php | 29 ++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/system/dbupdate_3.4/75959_StudVw_Automatische_Tags.php b/system/dbupdate_3.4/75959_StudVw_Automatische_Tags.php index 1954ae48d..13955194f 100644 --- a/system/dbupdate_3.4/75959_StudVw_Automatische_Tags.php +++ b/system/dbupdate_3.4/75959_StudVw_Automatische_Tags.php @@ -4,7 +4,7 @@ if (! defined('DB_NAME')) exit('No direct script access allowed'); //Add column entwicklungs_id to bis.tbl_entwicklungsteam if(!@$db->db_query("SELECT taglib FROM public.tbl_notiz_typ LIMIT 1")) { - $qry = 'ALTER TABLE public.tbl_notiz_typ ADD COLUMN taglib character varying(32);'; + $qry = 'ALTER TABLE public.tbl_notiz_typ ADD COLUMN taglib character varying(255);'; if(!$db->db_query($qry)) echo ' public.tbl_notiz_typ '.$db->db_last_error().'
'; @@ -137,3 +137,30 @@ foreach ($tags as $tag) { } } } + +// increase length of taglib column if created with length < 255 +$ctaglibsql = <<db_query($ctaglibsql)) +{ + if($db->db_num_rows($res) > 0) + { + $qry = 'ALTER TABLE public.tbl_notiz_typ ALTER COLUMN taglib TYPE varchar(255) USING taglib::varchar(255)'; + + if(!$db->db_query($qry)) + echo ' public.tbl_notiz_typ '.$db->db_last_error().'
'; + else + echo '
public.tbl_notiz_typ: Spalte taglib Datentyp zu varchar(255) geaendert.'; + } +} \ No newline at end of file From 50951dfdcf978e196c00a908b2d346dedd6972a6 Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Tue, 22 Sep 2026 13:00:28 +0200 Subject: [PATCH 2/3] anrechnungen: add pdf file extension to content disposition filename --- application/libraries/AnrechnungLib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/libraries/AnrechnungLib.php b/application/libraries/AnrechnungLib.php index 8ee1891b5..4c27a297c 100644 --- a/application/libraries/AnrechnungLib.php +++ b/application/libraries/AnrechnungLib.php @@ -741,7 +741,7 @@ class AnrechnungLib $fullname = hasData($result) ? $result->retval[0]->vorname. $result->retval[0]->nachname : ''; // Return filename - return 'Anrechnungsantrag'. $orgform_kurzbz .'_LV-'. $lehrveranstaltung_id. '_'. $fullname; + return 'Anrechnungsantrag'. $orgform_kurzbz .'_LV-'. $lehrveranstaltung_id. '_'. $fullname . '.pdf'; } public function LVhasLector($anrechnung_id) From ba92eea7eb25cc4cfdc19e4e1a85220fc129f2a6 Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Tue, 22 Sep 2026 14:09:51 +0200 Subject: [PATCH 3/3] studvw: fix lvtermine student_lehrverband --- application/controllers/api/frontend/v1/stv/LvTermine.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/controllers/api/frontend/v1/stv/LvTermine.php b/application/controllers/api/frontend/v1/stv/LvTermine.php index b9e23e77d..0d070ffd3 100644 --- a/application/controllers/api/frontend/v1/stv/LvTermine.php +++ b/application/controllers/api/frontend/v1/stv/LvTermine.php @@ -370,6 +370,7 @@ class LvTermine extends FHCAPI_Controller $result->semester = $item->semester; $result->verband = $item->verband; $result->gruppe = $item->gruppe; + $result->studiensemester_kurzbz = $item->studiensemester_kurzbz; return $result; }, $lehrverband_query_result));