mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user