feat: search component and loading splashscreen

This commit is contained in:
2025-08-08 14:36:05 +03:00
parent a8bb5eb493
commit 2fb841ef08
12 changed files with 217 additions and 35 deletions

View File

@@ -48,7 +48,7 @@ class ProductsHandler
{
$languageId = 1;
$page = $request->get('page', 1);
$perPage = 6;
$perPage = min((int)$request->get('perPage', 6), 15);
$categoryId = (int) $request->get('categoryId', 0);
$search = trim($request->get('search', ''));