Open gregorip02 opened 3 years ago
I'm not a fan of soft deletes but I guess we could support this
Perhaps a more flexible filter with "Includes trashed"
Perhaps a more flexible filter with "Includes trashed"
I'd go down this route of providing a filter for including trashed / deleted items.
Perhaps a more flexible filter with "Includes trashed"
Awesome, this will work.
It is a good idea to exclude global scopes to increase query performance, but there is a problem when models are softDeleted because they keep showing up in the indexQuery.
We can solve it by overwriting this method in our resource, but it should ignore the softDeleted models by default.