tobias.sioland
Route [filament.app.resources.events.index] not defined.
Hi! When using url(route('filament.app.resources.events.index', ['tenant' => Filament::getTenant()])) in the AppPanelProvider I get Route [filament.app.resources.events.index] not defined.
php artisan route:list --name=events
GET|HEAD {tenant}/events ............... filament.app.resources.events.index › App\Filament\Resources\EventResource\Pages\ListEvents Using the same url(route('filament.app.resources.events.index', ['tenant' => Filament::getTenant()])) on the EventResource/Pages/ListEvents.php works. Why? Is the named routes not available in the AppPanelProvider?
GET|HEAD {tenant}/events ............... filament.app.resources.events.index › App\Filament\Resources\EventResource\Pages\ListEvents Using the same url(route('filament.app.resources.events.index', ['tenant' => Filament::getTenant()])) on the EventResource/Pages/ListEvents.php works. Why? Is the named routes not available in the AppPanelProvider?
6 replies
Many navigation items for same resource to apply filter or set tab that is active
Hi!
In the EventResource there is a table with title and type. Type is an enum, it can be COURSE, SERVICE, PROJECT.
I have tabs that can filter on the enum.
But for the user experience I would like to have navigation links, Course, Service, Project. And when they are clicked the user gets to the eventResource and the corresponding filter/tab is already activated.
Can anyone point me in the right direction.
Thanks in advance!
Tobias
5 replies