This commit is contained in:
parent
0ea9f45854
commit
935a12945d
|
@ -429,7 +429,7 @@ async def load_shouts_random_topic(_, info, limit: int = 10):
|
||||||
|
|
||||||
q = add_stat_columns(q)
|
q = add_stat_columns(q)
|
||||||
|
|
||||||
q = q.group_by(Shout.id).order_by(desc(Shout.createdAt)).limit(limit)
|
q = q.group_by(Shout.id).order_by(desc(Shout.created_at)).limit(limit)
|
||||||
|
|
||||||
shouts = get_shouts_from_query(q)
|
shouts = get_shouts_from_query(q)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user