diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-03 15:08:45 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-03 15:08:45 +0000 |
commit | 55693cc1ec8ac79444bc7214d2812a4ac41bf043 (patch) | |
tree | c9e9df7be9eac5dd1ea71f65da9a6831834b08c4 /app/finders | |
parent | c089cf73c2f1835dc68fd6107d6cbd10fc17f365 (diff) | |
download | gitlab-ce-55693cc1ec8ac79444bc7214d2812a4ac41bf043.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/pipelines_finder.rb | 2 |
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 |