Skip to content

Commit

Permalink
Merge c983f96 into be20470
Browse files Browse the repository at this point in the history
  • Loading branch information
filipe1309 committed May 27, 2019
2 parents be20470 + c983f96 commit eb6b83c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/panels/RendersSummaryChartTrait.php
Expand Up @@ -46,7 +46,7 @@ protected function getChartData()
->where(['between', 'created',
date('Y-m-d 00:00:00', $startDate),
date('Y-m-d 23:59:59')])
->groupBy("day")->indexBy('day')->column();
->groupBy("created")->indexBy('day')->column();

// replace defaults with data from db where available
foreach ($results as $date => $count) {
Expand Down
2 changes: 1 addition & 1 deletion src/views/default/panels/trail/chart.php
Expand Up @@ -17,7 +17,7 @@
->where(['between', 'created',
date('Y-m-d 00:00:00', $startDate),
date('Y-m-d 23:59:59')])
->groupBy("day")->indexBy('day')->column();
->groupBy("created")->indexBy('day')->column();

// format dates properly
$formattedData = [];
Expand Down

0 comments on commit eb6b83c

Please sign in to comment.