summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/pages/MyTicketsPage.java
diff options
context:
space:
mode:
authorHybris95 <hybris_95@hotmail.com>2014-04-25 14:55:40 +0200
committerJames Moger <james.moger@gitblit.com>2014-05-01 16:14:15 -0400
commit4cbddead33232b82a6d35ebfa333e46c74c9bcf8 (patch)
tree5075b081fc8d105b51875ad9e6f1ce528c30d684 /src/main/java/com/gitblit/wicket/pages/MyTicketsPage.java
parent4062e46eb07c4202d8872ecc02eb246304dda01e (diff)
downloadgitblit-4cbddead33232b82a6d35ebfa333e46c74c9bcf8.tar.gz
gitblit-4cbddead33232b82a6d35ebfa333e46c74c9bcf8.zip
Added the "you are responsible of" filter in "my tickets" page.
Diffstat (limited to 'src/main/java/com/gitblit/wicket/pages/MyTicketsPage.java')
-rw-r--r--src/main/java/com/gitblit/wicket/pages/MyTicketsPage.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/MyTicketsPage.java b/src/main/java/com/gitblit/wicket/pages/MyTicketsPage.java
index 7e988a22..00b9e190 100644
--- a/src/main/java/com/gitblit/wicket/pages/MyTicketsPage.java
+++ b/src/main/java/com/gitblit/wicket/pages/MyTicketsPage.java
@@ -172,6 +172,15 @@ public class MyTicketsPage extends RootPage {
sortBy,
desc,
1)));
+ add(new BookmarkablePageLink<Void>("responsibleQuery", MyTicketsPage.class,
+ queryParameters(
+ Lucene.responsible.matches(username),
+ milestoneParam,
+ statiiParam,
+ assignedToParam,
+ sortBy,
+ desc,
+ 1)));
// states
if (ArrayUtils.isEmpty(statiiParam)) {