tangled
alpha
login
or
join now
edavis.dev
/
bsky-tools
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
MostLikedFeed: secondary sort on create_ts desc
Eric Davis
2 years ago
491465b2
c47f8bc3
+1
-1
1 changed file
expand all
collapse all
unified
split
feeds
mostliked.py
+1
-1
feeds/mostliked.py
···
11
11
select uri, create_ts, unixepoch('now', '-24 hours'), create_ts - unixepoch('now', '-24 hours'), likes
12
12
from posts
13
13
where create_ts >= unixepoch('now', '-24 hours')
14
14
-
order by likes desc, uri asc
14
14
+
order by likes desc, create_ts desc
15
15
limit :limit offset :offset
16
16
"""
17
17
DELETE_OLD_POSTS_QUERY = """