From 2819989b72a38e30192cd57661bde89bc1ebfc7c Mon Sep 17 00:00:00 2001 From: MrYummy Date: Thu, 6 Jul 2017 20:08:48 -0400 Subject: Added total_count to thread result number (pt. 2) --- 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 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 -- cgit v1.2.3