From 7fcfa3a236a91b12e0a56044337b87cd40325a3c Mon Sep 17 00:00:00 2001 From: Joel Johnson Date: Thu, 2 Jul 2015 15:35:19 -0600 Subject: [PATCH] sort projects displayed on projects page --- src/main/java/com/gitblit/wicket/pages/ProjectsPage.java | 2 ++ 1 file changed, 2 insertions(+) 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 projects = getProjects(params); + Collections.sort(projects); ListDataProvider dp = new ListDataProvider(projects); -- 2.39.5