mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 19:40:55 +01:00
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:
parent
f163d83935
commit
12f131c064
1 changed files with 5 additions and 0 deletions
|
@ -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(),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue