diff options
author | MrYummy <elemental428@gmail.com> | 2017-07-06 20:08:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-06 20:08:48 -0400 |
commit | 2819989b72a38e30192cd57661bde89bc1ebfc7c (patch) | |
tree | ea0d1bd9607b4c47463f97d9bee147f796918474 | |
parent | 8c6eb8ac17de84ebd34bb26652889b4c93b7e75a (diff) |
Added total_count to thread result number (pt. 2)
-rw-r--r-- | app/views/forumthreads/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |