Default-Sortierung für Assemblies per YAML-Konfiguration einführen

This commit is contained in:
Marcel Diegelmann 2025-03-20 09:55:48 +01:00
parent 6fa960df42
commit 667b3fd69d
4 changed files with 33 additions and 11 deletions

View file

@ -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

View file

@ -167,6 +167,9 @@ services:
####################################################################################################################
# Table settings
####################################################################################################################
App\DataTables\AssemblyBomEntriesDataTable:
arguments:
$visible_columns: '%partdb.table.assemblies.default_columns%'
App\DataTables\Helpers\ColumnSortHelper:
shared: false # Service has a state so not share it between different tables