summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/forumthreads/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/forumthreads/index.html.erb b/app/views/forumthreads/index.html.erb
index 18b9ef4..bd68e29 100644
--- a/app/views/forumthreads/index.html.erb
+++ b/app/views/forumthreads/index.html.erb
@@ -10,7 +10,7 @@
if params[:forum]
text = "forum '#{Forum.find(params[:forum]).name}'"
if params_list.except(:forum).any?
- text = "Search results in #{text} (#{@threads.length})"
+ text = "Search results in #{text} (#{@threads.total_count})"
else
text = text.capitalize
end