]> source.dussan.org Git - gitblit.git/commitdiff
Preserve filter selection when switching between root pages
authorJames Moger <james.moger@gitblit.com>
Wed, 28 Dec 2011 21:21:08 +0000 (16:21 -0500)
committerJames Moger <james.moger@gitblit.com>
Wed, 28 Dec 2011 21:21:08 +0000 (16:21 -0500)
src/com/gitblit/wicket/pages/RootPage.java

index ebb4d65b105f83aab21a5c8f2f306ee9b4cf5b15..4021e5c06ca40b52657ecca9c4aafd2001c5a6b6 100644 (file)
@@ -94,8 +94,8 @@ public abstract class RootPage extends BasePage {
 \r
                // navigation links\r
                List<PageRegistration> pages = new ArrayList<PageRegistration>();\r
-               pages.add(new PageRegistration("gb.repositories", RepositoriesPage.class));\r
-               pages.add(new PageRegistration("gb.activity", ActivityPage.class));\r
+               pages.add(new PageRegistration("gb.repositories", RepositoriesPage.class, getPageParameters()));\r
+               pages.add(new PageRegistration("gb.activity", ActivityPage.class, getPageParameters()));\r
                if (showAdmin) {\r
                        pages.add(new PageRegistration("gb.users", UsersPage.class));\r
                }\r