Differential D7578 Diff 17109 src/applications/maniphest/controller/ManiphestBatchEditController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/controller/ManiphestBatchEditController.php
| Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | if ($request->isFormPost() && is_array($actions)) { | ||||
| } | } | ||||
| $task_ids = implode(',', mpull($tasks, 'getID')); | $task_ids = implode(',', mpull($tasks, 'getID')); | ||||
| return id(new AphrontRedirectResponse()) | return id(new AphrontRedirectResponse()) | ||||
| ->setURI('/maniphest/?ids='.$task_ids); | ->setURI('/maniphest/?ids='.$task_ids); | ||||
| } | } | ||||
| $handle_phids = mpull($tasks, 'getOwnerPHID'); | $handles = ManiphestTaskListView::loadTaskHandles($user, $tasks); | ||||
| $handles = $this->loadViewerHandles($handle_phids); | |||||
| $list = new ManiphestTaskListView(); | $list = new ManiphestTaskListView(); | ||||
| $list->setTasks($tasks); | $list->setTasks($tasks); | ||||
| $list->setUser($user); | $list->setUser($user); | ||||
| $list->setHandles($handles); | $list->setHandles($handles); | ||||
| $template = new AphrontTokenizerTemplateView(); | $template = new AphrontTokenizerTemplateView(); | ||||
| $template = $template->render(); | $template = $template->render(); | ||||
| ▲ Show 20 Lines • Show All 274 Lines • Show Last 20 Lines | |||||