]> source.dussan.org Git - gitblit.git/commitdiff
sort projects displayed on projects page 287/head
authorJoel Johnson <mrjoel@lixil.net>
Thu, 2 Jul 2015 21:35:19 +0000 (15:35 -0600)
committerJoel Johnson <mrjoel@lixil.net>
Thu, 2 Jul 2015 21:35:19 +0000 (15:35 -0600)
src/main/java/com/gitblit/wicket/pages/ProjectsPage.java

index f04fa78a48170cc057f4d686cd4d77257faa7654..132a39dd7801738a05bf250084e6f1db965399fb 100644 (file)
@@ -15,6 +15,7 @@
  */\r
 package com.gitblit.wicket.pages;\r
 \r
+import java.util.Collections;\r
 import java.util.List;\r
 \r
 import org.apache.wicket.PageParameters;\r
@@ -69,6 +70,7 @@ public class ProjectsPage extends RootPage {
                }\r
 \r
                List<ProjectModel> projects = getProjects(params);\r
+               Collections.sort(projects);\r
 \r
                ListDataProvider<ProjectModel> dp = new ListDataProvider<ProjectModel>(projects);\r
 \r