Pārlūkot izejas kodu

Correctif : Binding entities to query parameters only allowed for entities that have an identifier.

master
Guillaume Bourgeois pirms 2 gadiem
vecāks
revīzija
742875ef44
1 mainītis faili ar 5 papildinājumiem un 3 dzēšanām
  1. +5
    -3
      Controller/Product/ProductFamilyAdminController.php

+ 5
- 3
Controller/Product/ProductFamilyAdminController.php Parādīt failu

@@ -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);

Notiek ielāde…
Atcelt
Saglabāt