remove admin_locale
This commit is contained in:
parent
7a55f7384f
commit
ae0d7df821
|
|
@ -143,7 +143,7 @@ class ProductRepository extends WProductRepository
|
|||
$sortOptions = $this->getDefaultSortByOption();
|
||||
$orderDirection = ! empty($sortOptions) ? $sortOptions[1] : 'asc';
|
||||
}
|
||||
|
||||
DB::connection()->enableQueryLog();
|
||||
if (isset($params['sort'])) {
|
||||
$this->checkSortAttributeAndGenerateQuery($qb, $params['sort'], $orderDirection);
|
||||
} else {
|
||||
|
|
@ -153,6 +153,8 @@ class ProductRepository extends WProductRepository
|
|||
}
|
||||
}
|
||||
|
||||
Log::info(DB::getQueryLog());
|
||||
|
||||
if ($priceFilter = request('price')) {
|
||||
$priceRange = explode(',', $priceFilter);
|
||||
if (count($priceRange) > 0) {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ use Illuminate\Pagination\LengthAwarePaginator;
|
|||
use Illuminate\Pagination\Paginator;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Event;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use Illuminate\Support\Str;
|
||||
use Webkul\Attribute\Models\Attribute;
|
||||
|
|
@ -657,7 +656,6 @@ class ProductRepository extends Repository
|
|||
$query->orderBy('product_flat.created_at', $direction);
|
||||
}
|
||||
|
||||
Log::info($query);
|
||||
return $query;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue