Skip to content

Commit

Permalink
Fix loop page url
Browse files Browse the repository at this point in the history
  • Loading branch information
lopes-vincent authored Nov 8, 2023
1 parent 7d98af4 commit 5d3341d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Config/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<language>en_US</language>
<language>fr_FR</language>
</languages>
<version>1.1.6</version>
<version>1.1.7</version>
<authors>
<author>
<name>Damien Foulhoux</name>
Expand Down
2 changes: 1 addition & 1 deletion Loop/PageLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function parseResults(LoopResult $loopResult)
->set('PAGE_TYPE', $page->getPageType())
->set('PAGE_CODE', $page->getCode())
->set('PAGE_PARENT', $page->getParent() ? $page->getParent()->getId() : null)
->set('PAGE_URL', $page->getRewrittenUrl($locale))
->set('PAGE_URL', $page->getUrl($locale))
->set('PAGE_TAG', $page->getTag())
->set('PAGE_VISIBLE', $page->getVisible())
->set('PAGE_TREE_LEFT', $page->getTreeLeft())
Expand Down

0 comments on commit 5d3341d

Please sign in to comment.