Skip to content

Commit

Permalink
Ensure retrieving page layout if overridden in XML layout file.
Browse files Browse the repository at this point in the history
  • Loading branch information
romainruaud committed Mar 21, 2018
1 parent 8095176 commit 7f7cc55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module-elasticsuite-catalog/Block/Navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function __construct(
array $data
) {
parent::__construct($context, $layerResolver, $filterList, $visibilityFlag, $data);
$this->pageLayout = $context->getPageConfig()->getPageLayout();
$this->pageLayout = $context->getPageConfig()->getPageLayout() ?: $this->getLayout()->getUpdate()->getPageLayout();
$this->objectManager = $objectManager;
$this->moduleManager = $moduleManager;
$this->relevantFilterList = $relevantFilterList;
Expand Down

0 comments on commit 7f7cc55

Please sign in to comment.