Added LV-ID to group-header title

This commit is contained in:
Cris
2019-11-25 08:38:01 +01:00
committed by hainberg
parent 7bc8255787
commit 4da3062c00
2 changed files with 4 additions and 4 deletions
@@ -96,7 +96,7 @@ function func_initialFilter(){
// -----------------------------------------------------------------------------------------------------------------
// Formats the group header
function func_groupHeader(data){
return data[0].lv_bezeichnung; // change name to lehrveranstaltung
return data[0].lv_bezeichnung + "  " + ' ( LV-ID: ' + data[0].lehrveranstaltung_id + ' )'; // change name to lehrveranstaltung;
};
// Formats the rows
@@ -100,9 +100,9 @@ function func_dataLoaded(data, table){
// Tabulator table format functions
// -----------------------------------------------------------------------------------------------------------------
// Formats the group header
function func_groupHeader(data){
return data[0].lv_bezeichnung; // change name to lehrveranstaltung
};
function func_groupHeader(data) {
return data[0].lv_bezeichnung + "  " + ' ( LV-ID: ' + data[0].lehrveranstaltung_id + ' )'; // change name to lehrveranstaltung;
}
// Formats the rows
function func_rowFormatter(row){