Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-03 18:08:45 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-03 18:08:45 +0300
commit55693cc1ec8ac79444bc7214d2812a4ac41bf043 (patch)
treec9e9df7be9eac5dd1ea71f65da9a6831834b08c4 /app/finders
parentc089cf73c2f1835dc68fd6107d6cbd10fc17f365 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/finders')
-rw-r--r--app/finders/pipelines_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/pipelines_finder.rb b/app/finders/pipelines_finder.rb
index 48da44123f6..0599daab564 100644
--- a/app/finders/pipelines_finder.rb
+++ b/app/finders/pipelines_finder.rb
@@ -39,7 +39,7 @@ class PipelinesFinder
# rubocop: disable CodeReuse/ActiveRecord
def from_ids(ids)
- pipelines.unscoped.where(id: ids)
+ pipelines.unscoped.where(project_id: project.id, id: ids)
end
# rubocop: enable CodeReuse/ActiveRecord