Skip to content

Commit

Permalink
Sorting by Websites not working in product grid in backoffice magento…
Browse files Browse the repository at this point in the history
  • Loading branch information
XxXgeoXxX committed Feb 13, 2019
1 parent e61b399 commit fa49579
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,14 @@ public function __construct(
ContextInterface $context,
UiComponentFactory $uiComponentFactory,
StoreManagerInterface $storeManager,
Helper $resourceHelper,
Helper $resourceHelper = null,
array $components = [],
array $data = []
) {
parent::__construct($context, $uiComponentFactory, $components, $data);
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$this->storeManager = $storeManager;
$this->_resourceHelper = $resourceHelper;
$this->_resourceHelper = $resourceHelper ?: $objectManager->get(Helper::class);
}

/**
Expand Down

0 comments on commit fa49579

Please sign in to comment.