Added total_count to thread result number (pt. 2)

This commit is contained in:
MrYummy
2017-07-06 20:08:48 -04:00
committed by GitHub
parent 8c6eb8ac17
commit 2819989b72

View File

@@ -15,7 +15,7 @@
text = text.capitalize text = text.capitalize
end end
elsif params_list.any? elsif params_list.any?
text = "Search results (#{@threads.length})" text = "Search results (#{@threads.total_count})"
else else
text = "All threads" text = "All threads"
end end