remove lishniy productstan

This commit is contained in:
merdan 2022-05-19 17:42:04 +05:00
parent 03abf16011
commit 06bbf04504
1 changed files with 1 additions and 3 deletions

View File

@ -77,9 +77,7 @@ class FilterOptions extends \Webkul\RestApi\Http\Controllers\V1\Shop\ResourceCon
return $query->where('attribute_options.attribute_id',$request->get('attribute_id'));
});
$query->applyScope();
Log::info($query->model->toSql());
Log::info($query->toSql());
if($key = $request->get('search')){
$query->where('admin_name','LIKE', '%'.$key.'%');