Skip to content

Commit

Permalink
don't show pinned stuff on the front page for anon
Browse files Browse the repository at this point in the history
  • Loading branch information
SamSaffron committed Mar 12, 2013
1 parent babb5b7 commit 3053831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/topic_query.rb
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def default_list(list_opts={})
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

Expand Down

0 comments on commit 3053831

Please sign in to comment.