diff --git a/lib/topic_query.rb b/lib/topic_query.rb index 0a22a00bd17..fe6d8e8e69a 100644 --- a/lib/topic_query.rb +++ b/lib/topic_query.rb @@ -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)