diff options
author | MrYummy <elemental428@gmail.com> | 2017-07-02 23:23:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-02 23:23:24 -0400 |
commit | 9b64c2c6d926c4debec7477b0d042ad076bec391 (patch) | |
tree | b1a999c95e24c81253db3116e39b634510218564 | |
parent | 170fba42dbceeed52a7335fedb4696fa978e9cbe (diff) |
Thread index now counts all threads on all pages
-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 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 |