Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/controller/ManiphestReportController.php
| Show First 20 Lines • Show All 405 Lines • ▼ Show 20 Lines | public function renderOpenTasks() { | ||||
| $project_phid = $request->getStr('project'); | $project_phid = $request->getStr('project'); | ||||
| $project_handle = null; | $project_handle = null; | ||||
| if ($project_phid) { | if ($project_phid) { | ||||
| $phids = array($project_phid); | $phids = array($project_phid); | ||||
| $handles = $this->loadViewerHandles($phids); | $handles = $this->loadViewerHandles($phids); | ||||
| $project_handle = $handles[$project_phid]; | $project_handle = $handles[$project_phid]; | ||||
| $query->withAnyProjects($phids); | $query->withEdgeLogicPHIDs( | ||||
| PhabricatorProjectObjectHasProjectEdgeType::EDGECONST, | |||||
| PhabricatorQueryConstraint::OPERATOR_OR, | |||||
| $phids); | |||||
| } | } | ||||
| $tasks = $query->execute(); | $tasks = $query->execute(); | ||||
| $recently_closed = $this->loadRecentlyClosedTasks(); | $recently_closed = $this->loadRecentlyClosedTasks(); | ||||
| $date = phabricator_date(time(), $user); | $date = phabricator_date(time(), $user); | ||||
| ▲ Show 20 Lines • Show All 370 Lines • Show Last 20 Lines | |||||