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:
authorSean McGivern <sean@gitlab.com>2019-01-04 12:26:59 +0300
committerSean McGivern <sean@gitlab.com>2019-01-04 12:26:59 +0300
commit4543ef099d29b383462bcc1c71973c43385cd8dc (patch)
treeafd025be98e320da2449e013ef302b122892f670 /app/views
parent8600043bc71120399c7e97ff74cadc8d0ca1d4b1 (diff)
parent40f31486a8397c9142a0d5d0434b02d578aa8a67 (diff)
Merge branch '44353-improve-snippet-search-performance' into 'master'
Remove redundant counts in snippets search Closes #44353 See merge request gitlab-org/gitlab-ce!23952
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