do not list column to available columns list if not visible
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -194,6 +194,9 @@ class Listing
|
||||
$result = [];
|
||||
if (isset($tabellisting['columns'])) {
|
||||
foreach ($tabellisting['columns'] as $column => $coldata) {
|
||||
if (isset($coldata['visible']) && !$coldata['visible']) {
|
||||
continue;
|
||||
}
|
||||
$result[$column] = [
|
||||
'label' => $coldata['label'],
|
||||
'checked' => in_array($column, $tabellisting['visible_columns']),
|
||||
|
||||
Reference in New Issue
Block a user