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

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