#Disable `?page=....` query string params for a table
5 messages · Page 1 of 1 (latest)
Disable ?page=.... query string params for a table
Maybe not what you want, but what I usually do is define the field without the #[Url] attribute. So something like this
// #[Url]
public ?array $tableFilters = null;
on your table page
There doesn't seem to be an option to do that for pagination unfortunately: https://filamentphp.com/docs/3.x/tables/advanced#query-string.
Pagination is added by default: https://github.com/filamentphp/filament/blob/4ff166612c38d7cab5d29981fdd9ba2df77e7b6a/packages/tables/src/Concerns/InteractsWithTable.php#L38
I got it working using the Livewire\WithoutUrlPagination trait though: https://livewire.laravel.com/docs/pagination#disabling-url-query-string-tracking