diff --git a/src/applications/maniphest/view/ManiphestTaskListView.php b/src/applications/maniphest/view/ManiphestTaskListView.php index 5c01a2d9fb..6f714d0c5c 100644 --- a/src/applications/maniphest/view/ManiphestTaskListView.php +++ b/src/applications/maniphest/view/ManiphestTaskListView.php @@ -96,7 +96,7 @@ final class ManiphestTaskListView extends ManiphestView { $project_handles = array_select_keys( $handles, - $task->getProjectPHIDs()); + array_reverse($task->getProjectPHIDs())); $item->addAttribute( id(new PHUIHandleTagListView()) diff --git a/src/applications/project/view/ProjectBoardTaskCard.php b/src/applications/project/view/ProjectBoardTaskCard.php index a7ee93dd76..ba5213a623 100644 --- a/src/applications/project/view/ProjectBoardTaskCard.php +++ b/src/applications/project/view/ProjectBoardTaskCard.php @@ -128,6 +128,7 @@ final class ProjectBoardTaskCard extends Phobject { } if ($project_handles) { + $project_handles = array_reverse($project_handles); $tag_list = id(new PHUIHandleTagListView()) ->setSlim(true) ->setHandles($project_handles);