1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +01:00

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
This commit is contained in:
Chad Little 2017-05-30 14:11:56 -07:00
parent 7b290b94a7
commit 88c5c02e72

View file

@ -61,6 +61,7 @@ final class PhabricatorPeopleProfileTasksController
->withStatuses($open)
->needProjectPHIDs(true)
->setLimit(100)
->setGroupBy(ManiphestTaskQuery::GROUP_PRIORITY)
->execute();
$handles = ManiphestTaskListView::loadTaskHandles($viewer, $tasks);