From: James Moger Date: Wed, 28 Dec 2011 21:21:08 +0000 (-0500) Subject: Preserve filter selection when switching between root pages X-Git-Tag: v0.8.0~39 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e9e175f25e2f66961cd0885cdbfd0f4bad4c1ab2;p=gitblit.git Preserve filter selection when switching between root pages --- 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)); }