diff options
Diffstat (limited to 'app/helpers/search_helper.rb')
-rw-r--r-- | app/helpers/search_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb index 7de0011e91b..b8ac2afa7d6 100644 --- a/app/helpers/search_helper.rb +++ b/app/helpers/search_helper.rb @@ -419,7 +419,7 @@ module SearchHelper result = { label: label, scope: scope_name, data: data, link: search_path(search_params), active: active_scope } if active_scope - result[:count] = !@timeout ? @search_results.formatted_count(scope_name) : 0 + result[:count] = !@timeout ? @search_results.formatted_count(scope_name) : "0" end result[:count_link] = search_count_path(search_params) unless active_scope |