cache responces achyklar

This commit is contained in:
merdan 2022-12-21 15:18:15 +05:00
parent 055ebf2557
commit 49c7712526
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class Brands extends \Webkul\RestApi\Http\Controllers\V1\Shop\ResourceController
}
return $query->whereHas('flats', function($q){
$q->where('status',1);
$q->where('product_flat.status',1);
})
->orderBy('position', 'desc')
->orderBy('name', 'asc');