From 865a2ca165cc73fbfccc3479fd7b9097b4515891 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Wed, 8 Mar 2017 17:25:01 -0800 Subject: [PATCH] count searches even for tag links --- app/views/posts/partials/index/_search_count.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/posts/partials/index/_search_count.html.erb b/app/views/posts/partials/index/_search_count.html.erb index e1ca14853..70ccaadb0 100644 --- a/app/views/posts/partials/index/_search_count.html.erb +++ b/app/views/posts/partials/index/_search_count.html.erb @@ -3,7 +3,7 @@ $.post("<%= Danbooru.config.reportbooru_server %>/hits", { key: "<%= key %>", value: "<%= value %>", - <% if CurrentUser.user.is_platinum? && params[:ms] %> + <% if CurrentUser.user.is_platinum? %> uid: <%= CurrentUser.user.id %>, <% end %> sig: "<%= sig %>"