diff --git a/app/controllers/tag_controller.rb b/app/controllers/tag_controller.rb index c14c4bbaa2..facc37fc0a 100644 --- a/app/controllers/tag_controller.rb +++ b/app/controllers/tag_controller.rb @@ -314,6 +314,7 @@ def rss def contributors set_sidebar :tags, [params[:id]], note_count: 20 + @wildcard = true if params[:id][-1..-1] == '*' @tagnames = [params[:id]] @tag = Tag.find_by(name: params[:id]) @notes = Node.where(status: 1, type: 'note') diff --git a/app/views/tag/contributors.html.erb b/app/views/tag/contributors.html.erb index 9abf75e692..b113ce4bcc 100644 --- a/app/views/tag/contributors.html.erb +++ b/app/views/tag/contributors.html.erb @@ -57,8 +57,9 @@ <% end %>
<%= raw t('tag.contributors.no_contributors', :tag => params[:id]) %>:
+ <% if @wildcard %> +This is a wildcard tag search.
+Wildcard tag searches use the * asterisk in their URLs, and do not show contributor listings.
<% else %>