Skip to content

Commit

Permalink
Merge pull request #9 from LoicMo43/main
Browse files Browse the repository at this point in the history
Change image list order
  • Loading branch information
zawaze authored Aug 3, 2023
2 parents dc139d6 + c4cec11 commit 28ddc54
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.2.0</version>
<version>1.2.1</version>
<authors>
<author>
<name></name>
Expand Down
2 changes: 1 addition & 1 deletion Controller/Front/OpenApi/ImageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function getImage(
) {
$locale = $this->findLocale($request);

$imageQuery = LibraryImageQuery::create();
$imageQuery = LibraryImageQuery::create()->orderById(Criteria::DESC);

if (null !== $id = $request->get('id')) {
$imageQuery->filterById($id);
Expand Down

0 comments on commit 28ddc54

Please sign in to comment.