Moved column sorting and visibility logic to its own (non-shared) helper service

This commit is contained in:
Jan Böhmer 2023-10-08 21:07:22 +02:00
parent 0753b7137f
commit 1369091b90
3 changed files with 249 additions and 224 deletions

View file

@ -216,7 +216,10 @@ services:
####################################################################################################################
App\DataTables\PartsDataTable:
arguments:
$default_part_columns: '%partdb.table.default_part_columns%'
$visible_columns: '%partdb.table.default_part_columns%'
App\DataTables\Helpers\ColumnSortHelper:
shared: false # Service has a state so not share it between different tables
####################################################################################################################
# Label system