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:
parent
abe420b322
commit
dfda41567c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue