cache responces achyklar
This commit is contained in:
parent
819bfee12f
commit
967ec8b048
|
|
@ -66,9 +66,7 @@ class Brands extends \Webkul\RestApi\Http\Controllers\V1\Shop\ResourceController
|
|||
return $query->orderBy($sort, $request->input('order') ?? 'asc');
|
||||
}
|
||||
|
||||
return $query->withCount('flats')->having('flats_count', '>', 1)
|
||||
->orderBy('position', 'desc')
|
||||
->orderBy('name', 'asc');
|
||||
return $query->withCount('flats')->having('flats_count', '>', 1);
|
||||
});
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue