Skip to content

Commit

Permalink
Merge pull request #8 from leanormandon/main
Browse files Browse the repository at this point in the history
Add UPDATE_AT param in loop
  • Loading branch information
zawaze authored Nov 14, 2024
2 parents 290529c + 3205991 commit 7081e34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Config/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<language>en_US</language>
<language>fr_FR</language>
</languages>
<version>1.1.5</version>
<version>1.1.6</version>
<authors>
<author>
<name>Loïc MO</name>
Expand Down
1 change: 1 addition & 0 deletions Loop/HeaderHighlightsLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public function parseResults(LoopResult $loopResult): LoopResult
$loopResultRow
->set('ID', $headerHighlights->getId())
->set('IMAGE_ID', $headerHighlightsImage?->getId())
->set('UPDATE_AT', $headerHighlightsImage?->getUpdatedAt()?->format('Y-m-d'))
->set('TITLE', $headerHighlights->getVirtualColumn("i18n_TITLE"))
->set('CATEGORY', $headerHighlights->getCategoryId())
->set('CTA', $headerHighlights->getVirtualColumn("i18n_CALL_TO_ACTION"))
Expand Down

0 comments on commit 7081e34

Please sign in to comment.