diff options
author | James Moger <james.moger@gitblit.com> | 2014-06-09 18:45:22 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-06-09 18:45:22 -0400 |
commit | d2d5fc600f72498007d0c78d84f058ae68b79815 (patch) | |
tree | 1671e526361db4fcb6ea51715fe396e6623773c0 /src/main/java | |
parent | deba6e10a878141aa80bdae603b2549e76d07b95 (diff) | |
download | gitblit-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.java | 8 |
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;
|