Skip to content

Commit e027c5e

Browse files
committed
Undo the previous commit
1 parent 9ac9feb commit e027c5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/OrderModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ public function get_discounts_by_user( int $user_id, string $period = '', $start
10931093
$date_range_clause = '';
10941094
$period_clause = '';
10951095
$course_clause = '';
1096-
$group_clause = ' GROUP BY MONTH(date_format) ';
1096+
$group_clause = ' GROUP BY DATE(date_format) ';
10971097
$discount_clause = 'o.coupon_amount as total';
10981098

10991099
if ( $start_date && $end_date ) {

0 commit comments

Comments
 (0)