Commit 7ee1d68e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge pull request #9186 from Senorsen/patch-1

Fix contributions calendar empty problem under mysql
......@@ -17,7 +17,7 @@ def timestamps
events = Event.reorder(nil).contributions.where(author_id:
where("created_at > ?", date_from).where(project_id: projects).
select('date(created_at), count(id) as total_amount').
select('date(created_at) as date, count(id) as total_amount').
dates = (1.year.ago.to_date..( +
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment