Skip to content

Commit 181507c

Browse files
authored
Do not trigger url rewrites re-generation for all store views
1 parent 9d1fe17 commit 181507c

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Store

1 file changed

+1
-0
lines changed

app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Store/Group.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ public function afterSave(
9292
AbstractModel $group
9393
) {
9494
if (!$group->isObjectNew()
95+
&& $group->getStoreIds()
9596
&& ($group->dataHasChangedFor('website_id')
9697
|| $group->dataHasChangedFor('root_category_id'))
9798
) {

0 commit comments

Comments
 (0)