Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F82432
D7586.diff
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7586.diff
View Options
diff --git a/src/applications/maniphest/query/ManiphestTaskSearchEngine.php b/src/applications/maniphest/query/ManiphestTaskSearchEngine.php
--- a/src/applications/maniphest/query/ManiphestTaskSearchEngine.php
+++ b/src/applications/maniphest/query/ManiphestTaskSearchEngine.php
@@ -362,6 +362,7 @@
if ($this->requireViewer()->isLoggedIn()) {
$names['assigned'] = pht('Assigned');
$names['authored'] = pht('Authored');
+ $names['subscribed'] = pht('Subscribed');
}
$names['open'] = pht('Open Tasks');
@@ -384,6 +385,10 @@
return $query
->setParameter('assignedPHIDs', array($viewer_phid))
->setParameter('statuses', array(ManiphestTaskStatus::STATUS_OPEN));
+ case 'subscribed':
+ return $query
+ ->setParameter('subscriberPHIDs', array($viewer_phid))
+ ->setParameter('statuses', array(ManiphestTaskStatus::STATUS_OPEN));
case 'open':
return $query
->setParameter('statuses', array(ManiphestTaskStatus::STATUS_OPEN));
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/gw/e3/hne2nryucmnnr7ij
Default Alt Text
D7586.diff (1 KB)
Attached To
Mode
D7586: Add a default "Subscribed" query to Maniphest
Attached
Detach File
Event Timeline
Log In to Comment