mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-04 23:44:33 +02:00
Renamed config env to TABLE_PARTS_DEFAULT_COLUMNS and updated documentation
This commit is contained in:
parent
1369091b90
commit
79262972aa
7 changed files with 14 additions and 9 deletions
|
@ -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, [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue