diff options
author | Heinrich Lee Yu <hleeyu@gmail.com> | 2018-12-21 14:44:37 +0300 |
---|---|---|
committer | Heinrich Lee Yu <hleeyu@gmail.com> | 2019-01-03 20:59:41 +0300 |
commit | 40f31486a8397c9142a0d5d0434b02d578aa8a67 (patch) | |
tree | 87e8684e20df494d5b555875166c77de8298b08b /app/views/search/_results.html.haml | |
parent | 725cd1367f8579e6c054c6cd2df42b934abfdc16 (diff) |
Reduce counts in search_entries_info
Diffstat (limited to 'app/views/search/_results.html.haml')
-rw-r--r-- | app/views/search/_results.html.haml | 2 |
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 |