How to remove applied filters from url

how to remove the applied filters from url ,while apply table filters the url change with tableFilters and tableSearch so is there any way to remove these changes from default url
No description
No description
Solution:
Since you are using Table Builder then remove the #[Url] from above the $tableFilters property
Jump to solution
5 Replies
Kenneth Sese
Kenneth Sese12mo ago
If you remove the filters from the query string then when you refresh the page then all the filters will be reset. That’s usually not what users expect.
Kenneth Sese
Kenneth Sese12mo ago
If that’s still what you want to do then you should be able to override the default behavior: https://filamentphp.com/docs/3.x/tables/advanced#query-string
AliBabba420
AliBabba420OP12mo ago
bro when i apply filter the url change but i dont want that i want the url should remain same as it is and filters are added is there any way?
Solution
Kenneth Sese
Kenneth Sese12mo ago
Since you are using Table Builder then remove the #[Url] from above the $tableFilters property
AliBabba420
AliBabba420OP12mo ago
public ?array $tableFilters = null; public $tableSearch = ''; thanks @archilex i use these two in wrong place after some time i use this in list page then it work !
Want results from more Discord servers?
Add your server