summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Moger <james.moger@gmail.com>2015-07-08 07:40:20 -0400
committerJames Moger <james.moger@gmail.com>2015-07-08 07:40:20 -0400
commit4dfbfdd4681cfad922725f8989450c24eaed64f5 (patch)
tree82048b986f600e5e6ca105c8cc6f6324dcbad222 /src
parentfd651cdfb065c50bbd622fa57386a8c0a050eeec (diff)
parent7fcfa3a236a91b12e0a56044337b87cd40325a3c (diff)
downloadgitblit-4dfbfdd4681cfad922725f8989450c24eaed64f5.tar.gz
gitblit-4dfbfdd4681cfad922725f8989450c24eaed64f5.zip
Merge pull request #287 from mrjoel/mrjoel-sortprojectlist
sort projects displayed on projects page
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/gitblit/wicket/pages/ProjectsPage.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/ProjectsPage.java b/src/main/java/com/gitblit/wicket/pages/ProjectsPage.java
index f04fa78a..132a39dd 100644
--- a/src/main/java/com/gitblit/wicket/pages/ProjectsPage.java
+++ b/src/main/java/com/gitblit/wicket/pages/ProjectsPage.java
@@ -15,6 +15,7 @@
*/
package com.gitblit.wicket.pages;
+import java.util.Collections;
import java.util.List;
import org.apache.wicket.PageParameters;
@@ -69,6 +70,7 @@ public class ProjectsPage extends RootPage {
}
List<ProjectModel> projects = getProjects(params);
+ Collections.sort(projects);
ListDataProvider<ProjectModel> dp = new ListDataProvider<ProjectModel>(projects);