Commit 7cd4454c authored by Alper Akgun's avatar Alper Akgun

Remove related_issues_for_batches scope

parent bff6c914
...@@ -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
......
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