Wire admin studio SSR and search infrastructure

This commit is contained in:
2026-05-01 11:46:06 +02:00
parent 257b0dbef6
commit 18cea8b0f0
329 changed files with 197465 additions and 2741 deletions

View File

@@ -332,7 +332,7 @@ class SmartCollectionService
match ($field) {
'tags' => $query->whereHas('tags', function (Builder $builder) use ($value): void {
$builder->where('tags.slug', (string) $value)
->orWhere('tags.name', 'like', '%' . (string) $value . '%');
->orWhere('tags.name', (string) $value);
}),
'category' => $query->whereHas('categories', function (Builder $builder) use ($value): void {
$builder->where('categories.slug', (string) $value)