You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a filter class is defined with a custom key() method, then the MenuItem::filter() method fails to apply the filter. The reproduction repository demonstrates this, the App\Nova\Filters\UserFilter class has a custom key() and in NovaServiceProvider I am setting up a custom menu with some filtered resources. If you click through to the Filter 1 or Filter 2 menu items you will see no filter is applied. However if you modify App\Nova\Filters\UserFilter, the menu item filtering works again
The text was updated successfully, but these errors were encountered:
Description:
If a filter class is defined with a custom
key()
method, then theMenuItem::filter()
method fails to apply the filter. The reproduction repository demonstrates this, theApp\Nova\Filters\UserFilter
class has a customkey()
and inNovaServiceProvider
I am setting up a custom menu with some filtered resources. If you click through to theFilter 1
orFilter 2
menu items you will see no filter is applied. However if you modifyApp\Nova\Filters\UserFilter
, the menu item filtering works againThe text was updated successfully, but these errors were encountered: