Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14759877
D17476.id42027.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.id42027.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
Thu, Jan 23, 2:41 PM (11 h, 5 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7037235
Default Alt Text
D17476.id42027.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