Fix #4155: Fix profile/settings metadata discrepancy.

This commit is contained in:
evazion
2019-09-05 00:14:11 -05:00
parent 3af352c76a
commit 4fb24c812f
3 changed files with 14 additions and 12 deletions

View File

@@ -35,7 +35,7 @@ module PostsHelper
def post_search_count_js
return nil unless post_search_counts_enabled?
if action_name == "index" && params[:page].nil?
if params[:action] == "index" && params[:page].nil?
tags = Tag.scan_query(params[:tags]).sort.join(" ")
if tags.present?