mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
change in/visible search querystring to un/listed
This commit is contained in:
@@ -318,9 +318,9 @@ class TopicQuery
|
||||
result = result.where('topics.closed')
|
||||
when 'archived'
|
||||
result = result.where('topics.archived')
|
||||
when 'visible'
|
||||
when 'listed'
|
||||
result = result.where('topics.visible')
|
||||
when 'invisible'
|
||||
when 'unlisted'
|
||||
result = result.where('NOT topics.visible')
|
||||
when 'deleted'
|
||||
guardian = Guardian.new(@user)
|
||||
|
||||
Reference in New Issue
Block a user