Fix board types not being selectable in filterpanel
This commit is contained in:
@@ -174,7 +174,7 @@ class FilterService implements SingletonInterface
|
||||
'uid' => $row['boardUid'],
|
||||
'label' => $row['boardType'],
|
||||
];
|
||||
if ($row['boardUid'] && !in_array($boardType, $boardTypes)) {
|
||||
if (!in_array($boardType, $boardTypes)) {
|
||||
$boardTypes[] = $boardType;
|
||||
}
|
||||
|
||||
|
||||
@@ -625,7 +625,8 @@ class ImportService implements SingletonInterface
|
||||
foreach ($selectionGroup as $selection)
|
||||
{
|
||||
$attributes = $selection->attributes();
|
||||
$data[] = (string) $attributes['bezeichnung'];
|
||||
$idBusPro = (int) $attributes['idbuspro'];
|
||||
$data[$idBusPro] = (string) $attributes['bezeichnung'];
|
||||
}
|
||||
|
||||
return $data;
|
||||
|
||||
Reference in New Issue
Block a user