Merge pull request #5856 from prateek-webkul/product-channel-filter
issue #5828 fixed
This commit is contained in:
commit
c13afd1b09
|
|
@ -66,12 +66,6 @@ class ProductDataGrid extends DataGrid
|
|||
/* channel */
|
||||
$this->channel = core()->getRequestedChannelCode();
|
||||
|
||||
/* finding channel code */
|
||||
if ($this->channel !== 'all') {
|
||||
$this->channel = Channel::query()->find($this->channel);
|
||||
$this->channel = $this->channel ? $this->channel->code : 'all';
|
||||
}
|
||||
|
||||
/* parent constructor */
|
||||
parent::__construct();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue