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')
|
result = result.where('topics.closed')
|
||||||
when 'archived'
|
when 'archived'
|
||||||
result = result.where('topics.archived')
|
result = result.where('topics.archived')
|
||||||
when 'visible'
|
when 'listed'
|
||||||
result = result.where('topics.visible')
|
result = result.where('topics.visible')
|
||||||
when 'invisible'
|
when 'unlisted'
|
||||||
result = result.where('NOT topics.visible')
|
result = result.where('NOT topics.visible')
|
||||||
when 'deleted'
|
when 'deleted'
|
||||||
guardian = Guardian.new(@user)
|
guardian = Guardian.new(@user)
|
||||||
|
|
Loading…
Reference in New Issue