1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02: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:
epriestley 2016-02-11 10:10:50 -08:00
parent f163d83935
commit 12f131c064

View file

@ -462,6 +462,10 @@ final class ManiphestTask extends ManiphestDAO
->setKey('priority') ->setKey('priority')
->setType('map<string, wild>') ->setType('map<string, wild>')
->setDescription(pht('Information about task priority.')), ->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(), 'ownerPHID' => $this->getOwnerPHID(),
'status' => $status_info, 'status' => $status_info,
'priority' => $priority_info, 'priority' => $priority_info,
'points' => $this->getPoints(),
); );
} }