added wss tools 5

This commit is contained in:
2026-06-18 17:01:52 +03:30
parent f44063dbd2
commit dc440abf61
4 changed files with 111 additions and 2 deletions
@@ -108,7 +108,7 @@ class CategoryController extends Controller
if ($request->filled('search')) {
$needle = trim((string) $request->search);
$categories = $categories->filter(
static fn ($category) => str_contains((string) $category->name, $needle)
static fn ($category) => strpos((string) $category->name, $needle) !== false
)->values();
}