From 12f131c06418bfebfb820cea68dc5e35f18b895f Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 11 Feb 2016 10:10:50 -0800 Subject: [PATCH] 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 --- src/applications/maniphest/storage/ManiphestTask.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/applications/maniphest/storage/ManiphestTask.php b/src/applications/maniphest/storage/ManiphestTask.php index e90f0e806c..0c1a1bc787 100644 --- a/src/applications/maniphest/storage/ManiphestTask.php +++ b/src/applications/maniphest/storage/ManiphestTask.php @@ -462,6 +462,10 @@ final class ManiphestTask extends ManiphestDAO ->setKey('priority') ->setType('map') ->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(), ); }