add space btw 'all'){

This commit is contained in:
gusaindeepak54 2020-08-20 17:43:23 +05:30
parent 2bfbde966f
commit f5e333f143
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class ProductDataGrid extends DataGrid
$queryBuilder->groupBy('product_flat.product_id', 'product_flat.locale', 'product_flat.channel');
$queryBuilder->where('locale', $this->locale !== 'all' ? $this->locale : 'en');
if($this->channel !== 'all'){
if($this->channel !== 'all') {
$queryBuilder->where('channel', $this->channel );
}