diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-11 21:07:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-11 21:07:16 +0300 |
commit | 413b7041032d2bf34d95cdc1d2375dbf2dbf4163 (patch) | |
tree | cc434c827320462ceb81649dff3bb9fd3eb0c5c4 /app/models/work_items | |
parent | ce4562ad642c2c2b504dc322d9c7a1fdbf30cb83 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/work_items')
-rw-r--r-- | app/models/work_items/related_work_item_link.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/models/work_items/related_work_item_link.rb b/app/models/work_items/related_work_item_link.rb index 1da776fa3bd..4de197d3d35 100644 --- a/app/models/work_items/related_work_item_link.rb +++ b/app/models/work_items/related_work_item_link.rb @@ -12,9 +12,15 @@ module WorkItems class << self extend ::Gitlab::Utils::Override + # Used as issuable table name for calculating blocked and blocking count in IssuableLink override :issuable_type def issuable_type - :work_item + :issue + end + + override :issuable_name + def issuable_name + 'work item' end end end |