Expose task point counts in maniphest.search
Summary: Ref T4427.
Test Plan: {F1104631}
Reviewers: chad
Reviewed By: chad
Maniphest Tasks: T4427
Differential Revision: https://secure.phabricator.com/D15244
This commit is contained in:
@@ -462,6 +462,10 @@ final class ManiphestTask extends ManiphestDAO
|
||||
->setKey('priority')
|
||||
->setType('map<string, wild>')
|
||||
->setDescription(pht('Information about task priority.')),
|
||||
id(new PhabricatorConduitSearchFieldSpecification())
|
||||
->setKey('points')
|
||||
->setType('points')
|
||||
->setDescription(pht('Point value of the task.')),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -488,6 +492,7 @@ final class ManiphestTask extends ManiphestDAO
|
||||
'ownerPHID' => $this->getOwnerPHID(),
|
||||
'status' => $status_info,
|
||||
'priority' => $priority_info,
|
||||
'points' => $this->getPoints(),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user