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
end
elsif params_list.any?
text = "Search results (#{@threads.length})"
text = "Search results (#{@threads.total_count})"
else
text = "All threads"
end