Skip to content
代码片段 群组 项目
提交 3e41f31f 编辑于 作者: Max Woolf's avatar Max Woolf
浏览文件

Merge branch '337432-remove-related_issues_for_batches-scope' into 'master'

Remove unused related_issues_for_batches scope

See merge request gitlab-org/gitlab!73931
No related branches found
No related tags found
无相关合并请求
...@@ -15,7 +15,6 @@ class EpicIssue < ApplicationRecord ...@@ -15,7 +15,6 @@ class EpicIssue < ApplicationRecord
alias_attribute :parent, :epic alias_attribute :parent, :epic
scope :in_epic, ->(epic_id) { where(epic_id: epic_id) } scope :in_epic, ->(epic_id) { where(epic_id: epic_id) }
scope :related_issues_for_batches, ->(epic_ids) { select(:id, :relative_position).where(epic_id: epic_ids) }
validate :validate_confidential_epic validate :validate_confidential_epic
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册