Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enabling query string for table filtering

I want the URL to include a query string when I filter a table to share it with others easily. I watched a video that has been shared that demonstrated this feature, and I was wondering how I can enable it, as can be seen in the video https://github.com/filamentphp/filament/issues/7129#issuecomment-1661456931 I use table builder on a public page, not table builder inside a panel.

like image 285
SNaRe Avatar asked Jul 10 '26 16:07

SNaRe


1 Answers

This is implemented with the help of

protected $queryString = [
    'tableSortColumn',
    'tableSortDirection',
    'tableFilters',
];
like image 196
Aleksey Karcev Avatar answered Jul 13 '26 07:07

Aleksey Karcev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!