From e9e175f25e2f66961cd0885cdbfd0f4bad4c1ab2 Mon Sep 17 00:00:00 2001 From: James Moger Date: Wed, 28 Dec 2011 16:21:08 -0500 Subject: [PATCH] Preserve filter selection when switching between root pages --- src/com/gitblit/wicket/pages/RootPage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/gitblit/wicket/pages/RootPage.java b/src/com/gitblit/wicket/pages/RootPage.java index ebb4d65b..4021e5c0 100644 --- a/src/com/gitblit/wicket/pages/RootPage.java +++ b/src/com/gitblit/wicket/pages/RootPage.java @@ -94,8 +94,8 @@ public abstract class RootPage extends BasePage { // navigation links List pages = new ArrayList(); - pages.add(new PageRegistration("gb.repositories", RepositoriesPage.class)); - pages.add(new PageRegistration("gb.activity", ActivityPage.class)); + pages.add(new PageRegistration("gb.repositories", RepositoriesPage.class, getPageParameters())); + pages.add(new PageRegistration("gb.activity", ActivityPage.class, getPageParameters())); if (showAdmin) { pages.add(new PageRegistration("gb.users", UsersPage.class)); } -- 2.39.5