Skip to content

Commit 0af36ff

Browse files
authored
fixed stats ordering
1 parent 9bb8f08 commit 0af36ff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/Models/Foundation/Summit/SummitRegistrationStats.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ public function getAttendeesCheckinsGroupedBy(
729729
}
730730
// group by
731731
$sql .= " GROUP BY DATE_FORMAT(CONVERT_TZ(SummitAttendee.SummitHallCheckedInDate,'+00:00','{$offset}'), '{$date_format}')";
732-
$sql .= " ORDER BY DATE_FORMAT(CONVERT_TZ(SummitAttendee.SummitHallCheckedInDate,'+00:00','{$offset}'), '{$date_format}')";
732+
$sql .= " ORDER BY SummitAttendee.SummitHallCheckedInDate ASC";
733733

734734
$count_sql = <<<SQL
735735
SELECT COUNT(*) FROM ({$sql}) T1
@@ -767,4 +767,4 @@ public function getAttendeesCheckinsGroupedBy(
767767
[]
768768
);
769769
}
770-
}
770+
}

0 commit comments

Comments
 (0)