Commit a1e28b12 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'ka-update-contributions-calendar-union-query' into 'master'

Update contributions calendar UNION query

See merge request gitlab-org/gitlab!69456
parents 5a0ea85a 7b4d0635
......@@ -33,6 +33,7 @@ module Gitlab
.having(action: :commented)
events = Event
.select(:project_id, :target_type, :action, :date, :total_amount)
.from_union([repo_events, issue_events, mr_events, note_events])
.map(&:attributes)
......
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