aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/searches/_search.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/searches/_search.html.erb b/app/views/searches/_search.html.erb
index 310988e..c32d73a 100644
--- a/app/views/searches/_search.html.erb
+++ b/app/views/searches/_search.html.erb
@@ -1,7 +1,7 @@
<div id="items">
<% els = items.values.flatten %>
<% if els.empty? %>
- <% if current_user.last_search_id.nil? %>
+ <% if current_user.last_search_id.nil? && action_name != "search" %>
<p><%= I18n.t('things.none') %> <%= link_to I18n.t('license.here'), new_thing_path %>.</p>
<% else %>
<p><%= I18n.t('searches.none') %>.</p>