cache responces achyklar

This commit is contained in:
merdan 2022-12-17 16:50:30 +05:00
parent c3fce53b1e
commit 286bdacea9
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class ProductRepository extends WProductRepository
// ->whereNotNull('product_flat.url_key');
if ($categoryId) {
$qb->join('product_categories', 'product_categories.product_id', '=', 'product_flat.product_id')
$qb->leftJoin('product_categories', 'product_categories.product_id', '=', 'product_flat.product_id')
->whereIn('product_categories.category_id', explode(',', $categoryId));
}