summaryrefslogtreecommitdiff
path: root/app/views/search/_result.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/search/_result.html.haml')
-rw-r--r--app/views/search/_result.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/search/_result.html.haml b/app/views/search/_result.html.haml
index 23f6646fba2..4d8caa5e70c 100644
--- a/app/views/search/_result.html.haml
+++ b/app/views/search/_result.html.haml
@@ -1,7 +1,7 @@
%fieldset
%legend
Search results
- %span.cgray (#{@projects.count + @merge_requests.count + @issues.count + @wiki_pages.count + @blobs.total_count})
+ %span.cgray (#{@total_results})
- if @project
%ul.nav.nav-pills
@@ -12,7 +12,6 @@
= link_to search_path(params.merge(search_code: nil)) do
Everything else
-
.search_results
%ul.bordered-list
- @projects.each do |project|