FEATURE: Add querystring value for Visible

Allow advanced functionality to only show visible topics on the latest, unread, new pages.
This commit is contained in:
cpradio 2014-09-11 19:17:16 -04:00
parent abe420b322
commit dfda41567c
1 changed files with 2 additions and 0 deletions

View File

@ -288,6 +288,8 @@ class TopicQuery
result = result.where('topics.closed')
when 'archived'
result = result.where('topics.archived')
when 'visible'
result = result.where('topics.visible')
end
end