mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 18:02:46 +08:00
don't show pinned stuff on the front page for anon
This commit is contained in:
parent
babb5b7b52
commit
3053831b97
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user