-
|
Hi, Perhaps I am missing something. I am using Filament 2 with a resource route called In my Can you assist with what I may be missing? |
Beta Was this translation helpful? Give feedback.
Answered by
oddvalue
Feb 27, 2024
Replies: 1 comment
-
|
@jeremy-at-evosus you'll need to disable the global scope in your resource query. I believe adding this to your resource will do the trick: public function getEloquentQuery()
{
return parent::getEloquentQuery()->withDrafts();
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
oddvalue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@jeremy-at-evosus you'll need to disable the global scope in your resource query.
I believe adding this to your resource will do the trick: