Skip to content

Commit 8c8df93

Browse files
author
Pavel
committed
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).
1 parent e49ccf7 commit 8c8df93

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Widget/Chooser

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Widget/Chooser/Sku.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ protected function _prepareColumns()
207207
public function getGridUrl()
208208
{
209209
return $this->getUrl(
210-
'catalog_rule/*/chooser',
210+
'*/*/chooser',
211211
['_current' => true, 'current_grid_id' => $this->getId(), 'collapse' => null]
212212
);
213213
}

0 commit comments

Comments
 (0)