page filters not working on table widget
I cannot get page filters to work on a custom dashboard page, I have this as the dashboard . My understanding is that I would only need to use the right traits HasFilterForm on the Dashboard class and InteractsWithPageFilters in the widget class, but $this->filters is always null in the widget query() method.
Thanks for further help! I feel I'm missing something very obvious but I'm new to laravel fillament this being my first project on the platform.
And a table widget:
3 Replies
so the issue was I removed the widget inclusion on getFooterWidgets() and rolled them back to include them in the panel provider, then it worked, is this expected behavior?
ok so continuing on this issue, it seems that specifically the table widget is not getting filtered automatically, so will keep working on that, but that's a different issue 🙂
I've been stuck with the same issue. Did you ever resolve this? Looks like the
InteractsWithPageFilters
concern is intended for StatsWidgets only... I can't quite make sense of what's going on with it@NickBell sorry for the ultra late reply, i think what was missing is making sure these were configured in the
AdminPanelProvider