Skip to content

Commit

Permalink
ref(backend): Order collection by created (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric authored Sep 5, 2023
1 parent 347a0a6 commit aab7db8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Controller/Api/CollectionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public function get(): Response
],
],
])
->order(['created' => 'DESC'])
->all();

return $this->response
Expand Down

0 comments on commit aab7db8

Please sign in to comment.