Page MenuHomePhabricator

D7586.id17125.diff
No OneTemporary

D7586.id17125.diff

Index: src/applications/maniphest/query/ManiphestTaskSearchEngine.php
===================================================================
--- src/applications/maniphest/query/ManiphestTaskSearchEngine.php
+++ 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

Mime Type
text/plain
Expires
Sat, Nov 2, 10:58 AM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6726828
Default Alt Text
D7586.id17125.diff (1 KB)

Event Timeline