Direct default links to queries

When we started using change queries to implement the default links
I forgot to actually update the menus and keyboard bindings.  They
kept using the old anchors and were relying on Dispatcher to rewrite
them to the new change query format.

Move them all over to use the change query anchor instead.

Change-Id: Ibc6e81560d0fc0b6db124e888c81619be49df936
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2010-08-06 11:49:41 -07:00
parent 850d878946
commit ae59d1bf23
6 changed files with 17 additions and 27 deletions

View File

@@ -356,7 +356,7 @@ public class ChangeScreen extends Screen {
if (Gerrit.isSignedIn()) {
Gerrit.display(PageLinks.MINE);
} else {
Gerrit.display(PageLinks.ALL_OPEN);
Gerrit.display(PageLinks.toChangeQuery("status:open"));
}
}
}