Commit 5a9fa254 authored by Nick Thomas's avatar Nick Thomas

Merge branch 'ajk-229664' into 'master'

Fix performance of save designs service spec

See merge request gitlab-org/gitlab!39739
parents 5adf8f0a 10a0d747
...@@ -101,7 +101,7 @@ module DesignManagement ...@@ -101,7 +101,7 @@ module DesignManagement
scope :current, -> { visible_at_version(nil) } scope :current, -> { visible_at_version(nil) }
def self.relative_positioning_query_base(design) def self.relative_positioning_query_base(design)
on_issue(design.issue_id) default_scoped.on_issue(design.issue_id)
end end
def self.relative_positioning_parent_column def self.relative_positioning_parent_column
......
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