newest followers ordered by created date

This commit is contained in:
Kyle Drake 2023-05-11 13:43:53 -05:00
parent d1f60254a6
commit 8b8791212c

View file

@ -1449,7 +1449,7 @@ class Site < Sequel::Model
end end
def newest_follows def newest_follows
follows_dataset.where(:follows__created_at => (1.month.ago..Time.now)).all follows_dataset.where(:follows__created_at => (1.month.ago..Time.now)).order(:follows__created_at.desc).all
end end
def host def host