diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-17 03:08:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-17 03:08:16 +0300 |
commit | 6399bb0f03e60ee2220ae668bbc6682cbb346eee (patch) | |
tree | 2cc7a868ea5ea765a864a6e2e960d1e06fc36ad5 /lib/gitlab/contributions_calendar.rb | |
parent | af11eb63cf4eaab8801416cc4a65f0bd4fad8817 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/contributions_calendar.rb')
-rw-r--r-- | lib/gitlab/contributions_calendar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/contributions_calendar.rb b/lib/gitlab/contributions_calendar.rb index a45380aca6c..2068a9ae7d5 100644 --- a/lib/gitlab/contributions_calendar.rb +++ b/lib/gitlab/contributions_calendar.rb @@ -31,7 +31,7 @@ module Gitlab repo_events = events_created_between(start_time, end_time, :repository) .where(action: :pushed) issue_events = events_created_between(start_time, end_time, :issues) - .where(action: [:created, :closed], target_type: "Issue") + .where(action: [:created, :closed], target_type: %w[Issue WorkItem]) mr_events = events_created_between(start_time, end_time, :merge_requests) .where(action: [:merged, :created, :closed], target_type: "MergeRequest") note_events = events_created_between(start_time, end_time, :merge_requests) |