F
Filament14mo ago
MRBUG

clickable widget with filter

currently I am in TeamResource here is the widget where i have 2 projects if i click this widget i will redirect to ProjectResource with these 2 projects filtered how can we archive this functionality more details: i have team_id in ProjectResource and in current widget I also have the current team_id. here is the widget code
Stat::make('Total Project', Project::where('team_id', $teamId)->count())->url(ProjectResource::getUrl())
Stat::make('Total Project', Project::where('team_id', $teamId)->count())->url(ProjectResource::getUrl())
currently i am only redirecting to the Resource without filter
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server