Closed devkornev closed 7 months ago
I do not know how to catch the problem. If you need additional information, tell me, I will try to provide.
Article::popularTagsNormalized(3)
array:3 [[]() "elementary os" => 36 "ubuntu" => 33 "debian" => 25 ]
Article::withAnyTags("elementary os")->get()
Illuminate\Database\Eloquent\Collection {[#1533 ]() items: array:36 [[]()] escapeWhenCastingToString: false }
Illuminate\Database\Eloquent\Collection {[#1533 ]()
}
Article::withAllTags("elementary os")->get()
Illuminate\Database\Eloquent\Collection {[#1492 ]() items: [] escapeWhenCastingToString: false }
Illuminate\Database\Eloquent\Collection {[#1492 ]()
?????
Article::withAnyTags("ubuntu")->get()
Illuminate\Database\Eloquent\Collection {[#1534 ]() items: array:33 [[]()] escapeWhenCastingToString: false }
Illuminate\Database\Eloquent\Collection {[#1534 ]()
Article::withAllTags("ubuntu")->get()
PHP 8.1.4 MySQL 8.0.28 Laravel 8.83.5
"cviebrock/eloquent-taggable": "^8.0",
config
return [ 'delimiters' => ',;', 'glue' => ',', 'normalizer' => 'mb_strtolower', 'connection' => null, 'throwEmptyExceptions' => false, 'taggedModels' => [ 'articles' => \App\Models\Article::class ], 'model' => \Cviebrock\EloquentTaggable\Models\Tag::class, ];
Closing old issue ... sorry I couldn't help.
I do not know how to catch the problem. If you need additional information, tell me, I will try to provide.
Article::popularTagsNormalized(3)
Article::withAnyTags("elementary os")->get()
Article::withAllTags("elementary os")->get()
?????
Article::withAnyTags("ubuntu")->get()
Article::withAllTags("ubuntu")->get()
PHP 8.1.4 MySQL 8.0.28 Laravel 8.83.5
"cviebrock/eloquent-taggable": "^8.0",
config