Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8e994806
Commit
8e994806
authored
Apr 20, 2017
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve search conflicts
parent
3c834a57
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
10 deletions
+0
-10
app/services/search/global_service.rb
app/services/search/global_service.rb
+0
-4
app/services/search/group_service.rb
app/services/search/group_service.rb
+0
-3
spec/services/search/group_service_spec.rb
spec/services/search/group_service_spec.rb
+0
-3
No files found.
app/services/search/global_service.rb
View file @
8e994806
...
...
@@ -9,7 +9,6 @@ module Search
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 @@ module Search
def
elastic_global
true
=======
Gitlab
::
SearchResults
.
new
(
current_user
,
projects
,
params
[
:search
])
>>>>>>>
ce
/
master
end
def
projects
...
...
app/services/search/group_service.rb
View file @
8e994806
...
...
@@ -14,7 +14,6 @@ module Search
@projects
=
super
.
inside_path
(
group
.
full_path
)
end
<<<<<<<
HEAD
def
elastic_projects
@elastic_projects
||=
projects
.
pluck
(
:id
)
...
...
@@ -23,7 +22,5 @@ module Search
def
elastic_global
false
end
=======
>>>>>>>
ce
/
master
end
end
spec/services/search/group_service_spec.rb
View file @
8e994806
...
...
@@ -37,7 +37,6 @@ describe Search::GroupService, services: true do
describe
'basic search'
do
include_examples
'group search'
end
<<<<<<<
HEAD
describe
'elasticsearch'
do
before
(
:each
)
do
...
...
@@ -59,6 +58,4 @@ describe Search::GroupService, services: true do
include_examples
'group search'
end
=======
>>>>>>>
ce
/
master
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment