Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/controller/ManiphestReportController.php
Show First 20 Lines • Show All 147 Lines • ▼ Show 20 Lines | foreach ($data as $key => $row) { | ||||
// If this is a legacy "create" transaction, discard it in favor of the | // If this is a legacy "create" transaction, discard it in favor of the | ||||
// synthetic one. | // synthetic one. | ||||
unset($data[$key]); | unset($data[$key]); | ||||
} | } | ||||
// Merge the synthetic rows into the real transactions. | // Merge the synthetic rows into the real transactions. | ||||
$data = array_merge($create_rows, $data); | $data = array_merge($create_rows, $data); | ||||
$data = array_values($data); | $data = array_values($data); | ||||
$data = isort($data, 'dateCreated'); | |||||
$stats = array(); | $stats = array(); | ||||
$day_buckets = array(); | $day_buckets = array(); | ||||
$open_tasks = array(); | $open_tasks = array(); | ||||
foreach ($data as $key => $row) { | foreach ($data as $key => $row) { | ||||
switch ($row['transactionType']) { | switch ($row['transactionType']) { | ||||
▲ Show 20 Lines • Show All 700 Lines • Show Last 20 Lines |