diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-21 11:05:50 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-26 09:03:04 +0100 |
commit | 06276bd3550e589c520027c16f108b92a48fb44a (patch) | |
tree | 21af4ec096c8a2e3622c50c2b72b28353beadf6b /app/views/search | |
parent | 3137559dfd45ff0e7fa6653ed1ba3d75836e4c45 (diff) | |
download | gitlab-ce-06276bd3550e589c520027c16f108b92a48fb44a.tar.gz |
Correctly shows no results text
Correct search results count
Diffstat (limited to 'app/views/search')
-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 252c1508a50..204f5a36f85 100644 --- a/app/views/search/_results.html.haml +++ b/app/views/search/_results.html.haml @@ -1,4 +1,4 @@ -- if @search_results.empty? +- if @objects.empty? = render partial: "search/results/empty" - else .gray-content-block |