Merge branch 'refs/heads/master' into feature/autowired-database

# Conflicts:
#	templates/productList.html.twig
This commit is contained in:
2026-01-04 20:29:35 +01:00
5 changed files with 686 additions and 477 deletions

View File

@@ -17,6 +17,6 @@ final class SearchController extends BaseController
->orWhere([['name', 'like', "%$search%"]])
->orWhere([['subTitle', 'like', "%$search%"]])->get();
return $this->render('productList.html.twig', ['products' => $products ?? [], 'search' => $search]);
return $this->render('productList.html.twig', ['products' => $products ?? [], 'search' => $search, 'listType' => 'search_'.$search]);
}
}