From 8e6f7521ec60e0d8ddb6f74ff169ed130a6d7699 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Mon, 12 Jan 2015 01:00:45 -0800 Subject: [PATCH] change in/visible search querystring to un/listed --- lib/topic_query.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)