diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-03-03 17:10:14 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-03-11 23:25:23 +0300 |
commit | 8c2868e8ea5d6340efcedfe5fd6388b0087eae89 (patch) | |
tree | 8e8b0a479c68281faade050ab093775c27a5252e /lib | |
parent | 300332bbf6061267176d83ef8431daf6fae47e2b (diff) |
Added ProjectSearchResults#project_ids_relation
This ensures some other methods such as the "issues" method still work.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/project_search_results.rb | 4 |
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 |