Просмотр исходного кода

Merge branch 'hotfix/hotfix_431'

master
Guillaume Bourgeois 2 лет назад
Родитель
Сommit
2ee2b7711c
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);

Загрузка…
Отмена
Сохранить