Skip to content

Commit

Permalink
Merge pull request #833 from romainruaud/fix_layout-1column
Browse files Browse the repository at this point in the history
Ensure retrieving page layout if overridden in XML layout file.
  • Loading branch information
afoucret authored Mar 21, 2018
2 parents 8095176 + 7f7cc55 commit 04197f1
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 04197f1

Please sign in to comment.