radar/forem — Issue #132: Category stats include hidden topics for non-admin users
Author: mahzilla
Created: 2012-01-17 00:36:06+00:00
State: open

If there is a hidden topic in a forum, the Topics, Posts, and Views statistics for ForumsController#index and ForumsController#show are different if I view the forum as a non-admin user.

To replicate this issue, create a new forum, create a new topic, and then hide the topic. You will see that the as a non-admin user, the newly create forum in ForumsController#index shows that a topic exists, but ForumsController#show will display "There are no topics in this forum currently."