mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
newest followers ordered by created date
This commit is contained in:
parent
d1f60254a6
commit
8b8791212c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue