Add a tooltip with last update to discontinued items.

This commit is contained in:
Krzysztof Płaczek
2025-02-16 10:22:09 +01:00
parent 81f9c863c7
commit 5c2777999a
5 changed files with 13 additions and 4 deletions

View File

@@ -13,7 +13,6 @@ final class SearchController extends BaseController
public function __invoke(Request $request): Response
{
$search = $request->query->get('search');
//dd();
$products = Product::with('price')
->orWhere([['name', 'like', "%$search%"]])
->orWhere([['subTitle', 'like', "%$search%"]])->get();