We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fba63e3 commit 73b75c1Copy full SHA for 73b75c1
backend/app/api/routes/threads.py
@@ -61,6 +61,7 @@ def read_threads(
61
.where(Team.owner_id == current_user.id, Thread.team_id == team_id)
62
.offset(skip)
63
.limit(limit)
64
+ .order_by(col(Thread.updated_at).desc())
65
)
66
threads = session.exec(statement).all()
67
return ThreadsOut(data=threads, count=count)
0 commit comments