瀏覽代碼

Merge tag 'hotfix_431' into develop

hotfix_431
develop
Guillaume Bourgeois 2 年之前
父節點
當前提交
cf4313b89b
共有 1 個檔案被更改,包括 5 行新增3 行删除
  1. +5
    -3
      Controller/Product/ProductFamilyAdminController.php

+ 5
- 3
Controller/Product/ProductFamilyAdminController.php 查看文件

@@ -57,9 +57,11 @@ abstract class ProductFamilyAdminController extends AbstractAdminController
$productFamilies[] = $productFamilyDto->getInstance();
}

$this->getProductFamilyContainer()->getStore()
->setSection($this->getSectionCurrentDefault())
->getWithReductions($productFamilies);
if($responseParameters->get('pageName') != 'new') {
$this->getProductFamilyContainer()->getStore()
->setSection($this->getSectionCurrentDefault())
->getWithReductions($productFamilies);
}

// affichage du filtre sur section
$responseParameters->set('display_switch_section', true);

Loading…
取消
儲存