Skip to content

Commit

Permalink
Merge pull request #902 from zoredache/sort_repositories
Browse files Browse the repository at this point in the history
add a ksort, so that repository index is ordered
  • Loading branch information
klaussilveira authored Jul 29, 2022
2 parents ce5806c + f4ade09 commit ecc8e18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/App/Controller/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ public function list(): Response
{
$repositories = $this->index->getRepositories();

ksort($repositories);

return new Response($this->templating->render('Repository/list.html.twig', [
'repositories' => $repositories,
]));
Expand Down

0 comments on commit ecc8e18

Please sign in to comment.