summaryrefslogtreecommitdiffstats
path: root/extensions/MyDashboard
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-08-26 22:06:58 +0200
committerDavid Lawrence <dkl@mozilla.com>2014-08-26 22:06:58 +0200
commite46f222d8f1f920e90479b99125fc965eb99e520 (patch)
tree286a6a77af33e4b1043549b10e7fcb1bbeea08ad /extensions/MyDashboard
parentc3b24d4c286b16ff0998b8724cacf1cbb390d1d4 (diff)
downloadbugzilla-e46f222d8f1f920e90479b99125fc965eb99e520.tar.gz
bugzilla-e46f222d8f1f920e90479b99125fc965eb99e520.tar.xz
Bug 1056904: Add "Mentored by me" to MyDashboard
Diffstat (limited to 'extensions/MyDashboard')
-rw-r--r--extensions/MyDashboard/lib/Queries.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/extensions/MyDashboard/lib/Queries.pm b/extensions/MyDashboard/lib/Queries.pm
index 0fd80d7ce..8e75319c7 100644
--- a/extensions/MyDashboard/lib/Queries.pm
+++ b/extensions/MyDashboard/lib/Queries.pm
@@ -92,6 +92,17 @@ sub QUERY_DEFS {
}
},
{
+ name => 'mentorbugs',
+ heading => "You Are a Mentor",
+ description => 'You are one of the mentors for the bug.',
+ params => {
+ 'bug_status' => ['__open__'],
+ 'emailbug_mentor1' => 1,
+ 'emailtype1' => 'exact',
+ 'email1' => $user->login
+ }
+ },
+ {
name => 'lastvisitedbugs',
heading => 'Updated Since Last Visit',
description => 'Bugs updated since last visited',