Archived
Thread index now counts all threads on all pages
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
if params[:forum]
|
if params[:forum]
|
||||||
text = "forum '#{Forum.find(params[:forum]).name}'"
|
text = "forum '#{Forum.find(params[:forum]).name}'"
|
||||||
if params_list.except(:forum).any?
|
if params_list.except(:forum).any?
|
||||||
text = "Search results in #{text} (#{@threads.length})"
|
text = "Search results in #{text} (#{@threads.total_count})"
|
||||||
else
|
else
|
||||||
text = text.capitalize
|
text = text.capitalize
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user