From 88c5c02e723315a4bf4047c2a58294f1c265d94b Mon Sep 17 00:00:00 2001 From: Chad Little Date: Tue, 30 May 2017 14:11:56 -0700 Subject: [PATCH] Group Maniphest Tasks by Priority on Profiles Summary: Ref T12423. Set the grouping by priority. Note this doesn't render headers but I don't want to spend a lot of time on this. Test Plan: Review tasks in my sandbox, see them ordered by priority. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T12423 Differential Revision: https://secure.phabricator.com/D18046 --- .../controller/PhabricatorPeopleProfileTasksController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/applications/people/controller/PhabricatorPeopleProfileTasksController.php b/src/applications/people/controller/PhabricatorPeopleProfileTasksController.php index 47cc605bb8..b843af8fc7 100644 --- a/src/applications/people/controller/PhabricatorPeopleProfileTasksController.php +++ b/src/applications/people/controller/PhabricatorPeopleProfileTasksController.php @@ -61,6 +61,7 @@ final class PhabricatorPeopleProfileTasksController ->withStatuses($open) ->needProjectPHIDs(true) ->setLimit(100) + ->setGroupBy(ManiphestTaskQuery::GROUP_PRIORITY) ->execute(); $handles = ManiphestTaskListView::loadTaskHandles($viewer, $tasks);