Closed Kotzilla closed 7 months ago
Can't you just disable global scopes the normal way?
Content::withoutGlobalScopes()->popularTags(20);
@cviebrock
yes i try but it's return
call to undefined method Illuminate\Database\Eloquent\Builder
Closing old issue
I use a model with taggable. Content::popularTags() but Content have a global scope with where('status', 'published');
it's return without filter condition is it the way to filter the popularTags ? i'have try with Content::where('status', 'published')->popularTags(20);
Thank you.