トップページに表示されるグラフが少なすぎるバグの修正 (#94)
This commit is contained in:
parent
09bb98876c
commit
9f2e73e511
@ -47,7 +47,7 @@ SQL
|
|||||||
$join->on('users.id', '=', 'ejaculations.user_id')
|
$join->on('users.id', '=', 'ejaculations.user_id')
|
||||||
->where('users.accept_analytics', true);
|
->where('users.accept_analytics', true);
|
||||||
})
|
})
|
||||||
->where('ejaculated_date', '>=', now()->subDays(14))
|
->where('ejaculated_date', '>=', now()->subDays(30))
|
||||||
->groupBy(DB::raw("to_char(ejaculated_date, 'YYYY/MM/DD')"))
|
->groupBy(DB::raw("to_char(ejaculated_date, 'YYYY/MM/DD')"))
|
||||||
->orderBy(DB::raw("to_char(ejaculated_date, 'YYYY/MM/DD')"))
|
->orderBy(DB::raw("to_char(ejaculated_date, 'YYYY/MM/DD')"))
|
||||||
->get()
|
->get()
|
||||||
|
Loading…
Reference in New Issue
Block a user