Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14651575
D17476.diff
No One
Temporary
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
D17476.diff
View Options
diff --git a/src/applications/people/controller/PhabricatorPeopleProfileTasksController.php b/src/applications/people/controller/PhabricatorPeopleProfileTasksController.php
--- a/src/applications/people/controller/PhabricatorPeopleProfileTasksController.php
+++ b/src/applications/people/controller/PhabricatorPeopleProfileTasksController.php
@@ -57,14 +57,13 @@
private function buildTasksView(PhabricatorUser $user) {
$viewer = $this->getViewer();
+ $open = ManiphestTaskStatus::getOpenStatusConstants();
+
$tasks = id(new ManiphestTaskQuery())
->setViewer($viewer)
->withOwners(array($user->getPHID()))
+ ->withStatuses($open)
->needProjectPHIDs(true)
- ->requireCapabilities(
- array(
- PhabricatorPolicyCapability::CAN_VIEW,
- ))
->setLimit(100)
->execute();
@@ -74,7 +73,7 @@
->setUser($viewer)
->setHandles($handles)
->setTasks($tasks)
- ->setNoDataString(pht('No assigned tasks.'));
+ ->setNoDataString(pht('No open, assigned tasks.'));
$view = id(new PHUIObjectBoxView())
->setHeaderText(pht('Assigned Tasks'))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 12, 4:24 PM (20 h, 14 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6987322
Default Alt Text
D17476.diff (1 KB)
Attached To
Mode
D17476: Show only open tasks on Tasks people profile panel
Attached
Detach File
Event Timeline
Log In to Comment