diff options
author | Joel Johnson <mrjoel@lixil.net> | 2015-07-02 15:35:19 -0600 |
---|---|---|
committer | Joel Johnson <mrjoel@lixil.net> | 2015-07-02 15:35:19 -0600 |
commit | 7fcfa3a236a91b12e0a56044337b87cd40325a3c (patch) | |
tree | 5dc652f469df5af04ccd944375dd5cef7717eb15 | |
parent | 124fd6e639b0bc43f3714134d6dead77895fd490 (diff) | |
download | gitblit-7fcfa3a236a91b12e0a56044337b87cd40325a3c.tar.gz gitblit-7fcfa3a236a91b12e0a56044337b87cd40325a3c.zip |
sort projects displayed on projects page
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/ProjectsPage.java | 2 |
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);
|