If you want to show filtering and sorting in url, you need to rewrite default LaraGrid properties. You can do it like this:
abstractclassMyBaseGridextendsBaseLaraGrid{ #[Url] // we added this linepublicarray $filter = []; #[Url(except:'id')] // we added this linepublicstring $sortColumn ='id'; #[Url] // we added this linepublicstring $sortDirection ='desc';protectedfunctiongetFilterResetButton():FilterResetButton {returnFilterResetButton::make(); }protectedfunctiongetTheme():BaseLaraGridTheme {returnMyTheme::make(); }}
Those Url params are default from livewire, so you can customize them as you want by following livewire docs.