Access filter options in resource static method

I have dynamic columns for a json field meaning i have json records stored in a db and the columns to display the values from the json record are stored as json paths in another table. How do i get the value of the table filters in the static table method? This prints an empty array?

public static function table(Table $table): Table
{

$filterValue = Request::input('filters.Types');
Log::info('Filter Value');
Log::info(print_r($table->getFilters(),true));

public static function table(Table $table): Table
{

$filterValue = Request::input('filters.Types');
Log::info('Filter Value');
Log::info(print_r($table->getFilters(),true));
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server