[home] Changed sort back to created_ad after adding new index to accounts

This commit is contained in:
azuregc7 2021-02-06 09:45:34 -08:00
parent dd6cbd0c17
commit 2baebbab18

@ -40,7 +40,7 @@ class HomeFeed < Feed
and not exists(select bb.target_account_id from blocks bb where bb.account_id = #{@id} and bb.target_account_id in (s.account_id, r.account_id))
#{pagination_max}
#{pagination_min}
order by s.id desc
order by s.created_ad desc
limit #{limit}
) sid
)