mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
change in/visible search querystring to un/listed
This commit is contained in:
+2
-2
@@ -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