mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-16 02:36:07 +01:00
Merge pull request #902 from zoredache/sort_repositories
add a ksort, so that repository index is ordered
This commit is contained in:
@@ -21,6 +21,8 @@ class Repository
|
|||||||
{
|
{
|
||||||
$repositories = $this->index->getRepositories();
|
$repositories = $this->index->getRepositories();
|
||||||
|
|
||||||
|
ksort($repositories);
|
||||||
|
|
||||||
return new Response($this->templating->render('Repository/list.html.twig', [
|
return new Response($this->templating->render('Repository/list.html.twig', [
|
||||||
'repositories' => $repositories,
|
'repositories' => $repositories,
|
||||||
]));
|
]));
|
||||||
|
|||||||
Reference in New Issue
Block a user