mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-13 05:39:33 +00:00
Default-Sortierung für Assemblies per YAML-Konfiguration einführen
This commit is contained in:
parent
f0748a2123
commit
ca45064bb2
4 changed files with 32 additions and 11 deletions
|
|
@ -43,6 +43,10 @@ parameters:
|
|||
######################################################################################################################
|
||||
partdb.saml.enabled: '%env(bool:SAML_ENABLED)%' # If this is set to true, SAML authentication is enabled
|
||||
|
||||
######################################################################################################################
|
||||
# Table settings
|
||||
######################################################################################################################
|
||||
partdb.table.assemblies.default_columns: '%env(trim:string:TABLE_ASSEMBLIES_DEFAULT_COLUMNS)%' # The default columns in assembly tables and their order
|
||||
|
||||
######################################################################################################################
|
||||
# Miscellaneous
|
||||
|
|
|
|||
|
|
@ -170,6 +170,9 @@ services:
|
|||
|
||||
App\DataTables\Helpers\ColumnSortHelper:
|
||||
shared: false # Service has a state so not share it between different tables
|
||||
App\DataTables\AssemblyBomEntriesDataTable:
|
||||
arguments:
|
||||
$visible_columns: '%partdb.table.assemblies.default_columns%'
|
||||
|
||||
####################################################################################################################
|
||||
# Label system
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue