Skip to content
代码片段 群组 项目
提交 8e994806 编辑于 作者: Nick Thomas's avatar Nick Thomas
浏览文件

Resolve search conflicts

上级 3c834a57
No related branches found
No related tags found
无相关合并请求
......@@ -9,7 +9,6 @@ def initialize(user, params)
end
def execute
<<<<<<< HEAD
if current_application_settings.elasticsearch_search?
Gitlab::Elastic::SearchResults.new(current_user, params[:search], elastic_projects, elastic_global)
else
......@@ -34,9 +33,6 @@ def elastic_projects
def elastic_global
true
=======
Gitlab::SearchResults.new(current_user, projects, params[:search])
>>>>>>> ce/master
end
def projects
......
......@@ -14,7 +14,6 @@ def projects
@projects = super.inside_path(group.full_path)
end
<<<<<<< HEAD
def elastic_projects
@elastic_projects ||= projects.pluck(:id)
......@@ -23,7 +22,5 @@ def elastic_projects
def elastic_global
false
end
=======
>>>>>>> ce/master
end
end
......@@ -37,7 +37,6 @@
describe 'basic search' do
include_examples 'group search'
end
<<<<<<< HEAD
describe 'elasticsearch' do
before(:each) do
......@@ -59,6 +58,4 @@
include_examples 'group search'
end
=======
>>>>>>> ce/master
end
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册