From 099aaa4f941d8f98adc688318f12b62667c2c9a7 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 24 Sep 2013 11:10:46 -0700 Subject: [PATCH] Render Maniphest custom fields last Summary: Ref T2217. Fixes T3865. Eventually we'll probably make more of this configurable, but for now shove custom fields down instead of sort of arbitrarily putting them in the middle. Test Plan: Looked at a task with attached revisions and custom fields, saw custom fields last. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T2217, T3865 Differential Revision: https://secure.phabricator.com/D7103 --- .../controller/ManiphestTaskDetailController.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/applications/maniphest/controller/ManiphestTaskDetailController.php b/src/applications/maniphest/controller/ManiphestTaskDetailController.php index 032bef75f3..54923a22fe 100644 --- a/src/applications/maniphest/controller/ManiphestTaskDetailController.php +++ b/src/applications/maniphest/controller/ManiphestTaskDetailController.php @@ -498,11 +498,6 @@ final class ManiphestTaskDetailController extends ManiphestController { ? $this->renderHandlesForPHIDs($task->getProjectPHIDs(), ',') : phutil_tag('em', array(), pht('None'))); - $field_list->appendFieldsToPropertyList( - $task, - $viewer, - $view); - $edge_types = array( PhabricatorEdgeConfig::TYPE_TASK_DEPENDED_ON_BY_TASK => pht('Dependent Tasks'), @@ -576,6 +571,11 @@ final class ManiphestTaskDetailController extends ManiphestController { $file_view->render()); } + $field_list->appendFieldsToPropertyList( + $task, + $viewer, + $view); + $view->invokeWillRenderEvent(); if (strlen($task->getDescription())) {