mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
filter.js: fix for nested tabulator: set columns before set data, filtersupdate: renamed columns
This commit is contained in:
@@ -226,9 +226,9 @@ export const CoreFilterCmpt = {
|
||||
}
|
||||
},
|
||||
_updateTabulator() {
|
||||
this.tabulator.setColumns(this.filteredColumns);
|
||||
this.tabulator.setData(this.filteredData);
|
||||
this.tabulatorHasSelector = this.filteredColumns.filter(el => el.formatter == 'rowSelection').length;
|
||||
this.tabulator.setColumns(this.filteredColumns);
|
||||
},
|
||||
/**
|
||||
*
|
||||
|
||||
@@ -1268,13 +1268,12 @@ $filters = array(
|
||||
{
|
||||
"name": "SoftwareManagement",
|
||||
"columns": [
|
||||
{"name": "Software Kurzbezeichnung"},
|
||||
{"name": "Version"},
|
||||
{"name": "Beschreibung"},
|
||||
{"name": "Hersteller"},
|
||||
{"name": "Betriebssystem"},
|
||||
{"name": "Aktiv"},
|
||||
{"name": "Softwarestatus Kurzbezeichnung"}
|
||||
{"name": "software_kurzbz"},
|
||||
{"name": "version"},
|
||||
{"name": "beschreibung"},
|
||||
{"name": "hersteller"},
|
||||
{"name": "os"},
|
||||
{"name": "aktiv"}
|
||||
],
|
||||
"filters": []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user