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));
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)
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