remove lishniy productstan
This commit is contained in:
parent
f04860e58f
commit
73d09ee58e
|
|
@ -77,6 +77,7 @@ class FilterOptions extends \Webkul\RestApi\Http\Controllers\V1\Shop\ResourceCon
|
||||||
$query->orderBy('id', 'desc');
|
$query->orderBy('id', 'desc');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Log::info($query->toSql());
|
||||||
if (is_null($request->input('pagination')) || $request->input('pagination')) {
|
if (is_null($request->input('pagination')) || $request->input('pagination')) {
|
||||||
$results = $query->paginate($request->input('limit') ?? 10);
|
$results = $query->paginate($request->input('limit') ?? 10);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue