From 757a39e21bd20a6b00488c8baa31568504b7a9cc Mon Sep 17 00:00:00 2001 From: liumengyi Date: Wed, 27 Jul 2022 13:06:34 +0800 Subject: [PATCH] * Fix issue #696. --- module/execution/control.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/execution/control.php b/module/execution/control.php index 43c685c403..f25924ed41 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -2300,6 +2300,7 @@ class execution extends control $end = helper::today(); $dateList = date::getDateList($begin, $end, 'Y-m-d', 'noweekend'); $chartData = $this->execution->buildCFDData($executionID, $dateList, 'task'); + if(isset($chartData['line'])) $chartData['line'] = array_reverse($chartData['line']); $this->view->begin = helper::safe64Encode(urlencode($begin)); $this->view->end = helper::safe64Encode(urlencode($end));