summaryrefslogtreecommitdiffstats
path: root/extensions/MyDashboard
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2014-05-20 08:19:51 +0200
committerDylan William Hardison <dylan@hardison.net>2014-05-28 16:52:47 +0200
commitb6b83df873a1509797235738e00f9e6307eca876 (patch)
tree2599c58a67bf67499d5c2d64c2854f8c7a4ef1e2 /extensions/MyDashboard
parent038e6854b32ae3155018188d80f306599a1e9644 (diff)
downloadbugzilla-b6b83df873a1509797235738e00f9e6307eca876.tar.gz
bugzilla-b6b83df873a1509797235738e00f9e6307eca876.tar.xz
Bug 1000917 - Backport upstream bug 489028 to bmo/4.2 to allow user last visit searching
Diffstat (limited to 'extensions/MyDashboard')
-rw-r--r--extensions/MyDashboard/lib/Queries.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/extensions/MyDashboard/lib/Queries.pm b/extensions/MyDashboard/lib/Queries.pm
index 566b5b340..58a6e122c 100644
--- a/extensions/MyDashboard/lib/Queries.pm
+++ b/extensions/MyDashboard/lib/Queries.pm
@@ -91,6 +91,16 @@ sub QUERY_DEFS {
'email1' => $user->login
}
},
+ {
+ name => 'lastvisitedbugs',
+ heading => 'Updated Since Last Visit',
+ description => 'Bugs updated since list visited',
+ params => {
+ o1 => 'lessthan',
+ v1 => '%last_changed%',
+ f1 => 'last_visit_ts',
+ },
+ },
);
if (Bugzilla->params->{'useqacontact'}) {