diff --git a/app/views/forumthreads/index.html.erb b/app/views/forumthreads/index.html.erb index 0c44352..5c3f97d 100644 --- a/app/views/forumthreads/index.html.erb +++ b/app/views/forumthreads/index.html.erb @@ -15,7 +15,7 @@ text = text.capitalize end elsif params_list.any? - text = "Search results (#{@threads.length})" + text = "Search results (#{@threads.total_count})" else text = "All threads" end