cache responces achyklar
This commit is contained in:
parent
c3fce53b1e
commit
286bdacea9
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue