From 8c2868e8ea5d6340efcedfe5fd6388b0087eae89 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Thu, 3 Mar 2016 15:10:14 +0100 Subject: [PATCH] Added ProjectSearchResults#project_ids_relation This ensures some other methods such as the "issues" method still work. --- lib/gitlab/project_search_results.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/gitlab/project_search_results.rb b/lib/gitlab/project_search_results.rb index f36600c575..0607a8b959 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