Merge pull request #5856 from prateek-webkul/product-channel-filter

issue #5828 fixed
This commit is contained in:
Prateek Srivastava 2022-02-21 15:30:09 +05:30 committed by GitHub
commit c13afd1b09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -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();
}