From 98e312fb4013d44eae12533687d8c7f3709bf54d Mon Sep 17 00:00:00 2001 From: Pavel Date: Fri, 27 Apr 2018 16:49:49 +0300 Subject: [PATCH] Modified Magento\CatalogRule\Block\Adminhtml\Promo\Widget\Chooser\Sku::getGridUrl() method. Route "module" part replaced by asterix symbol, which allow correct use this bock in "rules" logic in other modules (generate grid urls related to their own controllers which can fix some ACL conflicts). --- .../CatalogRule/Block/Adminhtml/Promo/Widget/Chooser/Sku.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Widget/Chooser/Sku.php b/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Widget/Chooser/Sku.php index 333ee845798ec..306d3b9a347b4 100644 --- a/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Widget/Chooser/Sku.php +++ b/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Widget/Chooser/Sku.php @@ -207,7 +207,7 @@ protected function _prepareColumns() public function getGridUrl() { return $this->getUrl( - 'catalog_rule/*/chooser', + '*/*/chooser', ['_current' => true, 'current_grid_id' => $this->getId(), 'collapse' => null] ); }