From 9b64c2c6d926c4debec7477b0d042ad076bec391 Mon Sep 17 00:00:00 2001 From: MrYummy Date: Sun, 2 Jul 2017 23:23:24 -0400 Subject: Thread index now counts all threads on all pages --- app/views/forumthreads/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3