diff --git a/lib/topic_query.rb b/lib/topic_query.rb index f396b09cbf4..7637bbaa7be 100644 --- a/lib/topic_query.rb +++ b/lib/topic_query.rb @@ -186,7 +186,7 @@ class TopicQuery topics = yield(topics) if block_given? options = options.merge(@options) - if (options[:order] || "activity") == "activity" && !options[:unordered] + if ["activity","default"].include?(options[:order] || "activity") && !options[:unordered] topics = prioritize_pinned_topics(topics, options) end