summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-06-09 18:45:22 -0400
committerJames Moger <james.moger@gitblit.com>2014-06-09 18:45:22 -0400
commitd2d5fc600f72498007d0c78d84f058ae68b79815 (patch)
tree1671e526361db4fcb6ea51715fe396e6623773c0 /src/main/java
parentdeba6e10a878141aa80bdae603b2549e76d07b95 (diff)
downloadgitblit-d2d5fc600f72498007d0c78d84f058ae68b79815.tar.gz
gitblit-d2d5fc600f72498007d0c78d84f058ae68b79815.zip
Fix milestone link statii query parameters
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/gitblit/wicket/pages/TicketsPage.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/TicketsPage.java b/src/main/java/com/gitblit/wicket/pages/TicketsPage.java
index dfa7b021..658cddec 100644
--- a/src/main/java/com/gitblit/wicket/pages/TicketsPage.java
+++ b/src/main/java/com/gitblit/wicket/pages/TicketsPage.java
@@ -536,7 +536,13 @@ public class TicketsPage extends RepositoryPage {
item.add(entryPanel);
final TicketMilestone tm = item.getModelObject();
- PageParameters params = queryParameters(null, tm.name, null, null, null, true, 1);
+ String [] states;
+ if (tm.isOpen()) {
+ states = TicketsUI.openStatii;
+ } else {
+ states = TicketsUI.closedStatii;
+ }
+ PageParameters params = queryParameters(null, tm.name, states, null, null, true, 1);
entryPanel.add(new LinkPanel("milestoneName", null, tm.name, TicketsPage.class, params).setRenderBodyOnly(true));
String css;