Renamed config env to TABLE_PARTS_DEFAULT_COLUMNS and updated documentation

This commit is contained in:
Jan Böhmer 2023-10-08 21:28:37 +02:00
parent 1369091b90
commit 79262972aa
7 changed files with 14 additions and 9 deletions

View file

@ -167,7 +167,7 @@ final class PartsDataTable implements DataTableTypeInterface
return implode('<br>', $tmp);
},
]);
], alias: 'storage_location');
}
$this->csh->add('amount', TextColumn::class, [
@ -280,7 +280,7 @@ final class PartsDataTable implements DataTableTypeInterface
]);
//Apply the user configured order and visibility and add the columns to the table
$this->csh->applyVisibilityAndConfigureColumns($dataTable, $this->visible_columns);
$this->csh->applyVisibilityAndConfigureColumns($dataTable, $this->visible_columns, "TABLE_PARTS_DEFAULT_COLUMNS");
$dataTable->addOrderBy('name')
->createAdapter(TwoStepORMAdapater::class, [