Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorHeinrich Lee Yu <hleeyu@gmail.com>2018-12-21 14:44:37 +0300
committerHeinrich Lee Yu <hleeyu@gmail.com>2019-01-03 20:59:41 +0300
commit40f31486a8397c9142a0d5d0434b02d578aa8a67 (patch)
tree87e8684e20df494d5b555875166c77de8298b08b /app/views
parent725cd1367f8579e6c054c6cd2df42b934abfdc16 (diff)
Reduce counts in search_entries_info
Diffstat (limited to 'app/views')
-rw-r--r--app/views/search/_results.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/search/_results.html.haml b/app/views/search/_results.html.haml
index ab56f48ba4d..c4d52431d6e 100644
--- a/app/views/search/_results.html.haml
+++ b/app/views/search/_results.html.haml
@@ -1,4 +1,4 @@
-- if @search_objects.empty?
+- if @search_objects.to_a.empty?
= render partial: "search/results/empty"
- else
.row-content-block