Wink gets only the first 30 tags in post creating
barbosa89 opened this issue · 0 comments
barbosa89 commented
When trying to create an article and there are many tags, I can only get the first 30, if trying to create a new tag you get a 500 error.
public function index()
{
$entries = WinkTag::when(request()->has('search'), function ($q) {
$q->where('name', 'LIKE', '%'.request('search').'%');
})
->orderBy('created_at', 'DESC')
->withCount('posts')
->paginate(30);
return TagsResource::collection($entries);
}
I think that from the article editing component, it does not make a search request to the database.
I thank you for this beautiful tool.