change in/visible search querystring to un/listed
This commit is contained in:
parent
dc0ecc8f2c
commit
8e6f7521ec
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue