diff --git a/lib/topic_query.rb b/lib/topic_query.rb index 86fecc981ca..fbc54b15a32 100644 --- a/lib/topic_query.rb +++ b/lib/topic_query.rb @@ -192,7 +192,7 @@ class TopicQuery if @user_id.present? result = result.order(TopicQuery.order_nocategory_with_pinned_sql) else - result = result.order(TopicQuery.order_basic_bumped) + result = result.order(TopicQuery.order_nocategory_basic_bumped) end end