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:
authorYorick Peterse <yorickpeterse@gmail.com>2016-03-03 17:10:14 +0300
committerRobert Speicher <rspeicher@gmail.com>2016-03-11 23:25:23 +0300
commit8c2868e8ea5d6340efcedfe5fd6388b0087eae89 (patch)
tree8e8b0a479c68281faade050ab093775c27a5252e /lib/gitlab/project_search_results.rb
parent300332bbf6061267176d83ef8431daf6fae47e2b (diff)
Added ProjectSearchResults#project_ids_relation
This ensures some other methods such as the "issues" method still work.
Diffstat (limited to 'lib/gitlab/project_search_results.rb')
-rw-r--r--lib/gitlab/project_search_results.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/project_search_results.rb b/lib/gitlab/project_search_results.rb
index f36600c5756..0607a8b9592 100644
--- a/lib/gitlab/project_search_results.rb
+++ b/lib/gitlab/project_search_results.rb
@@ -83,5 +83,9 @@ module Gitlab
project.repository.find_commits_by_message(query).compact
end
end
+
+ def project_ids_relation
+ project
+ end
end
end