db/events: remove author orderBy clause

This commit is contained in:
Alex Gleason 2023-12-11 14:44:35 -06:00
parent e91fbf7b50
commit 29d3b7bf89
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 0 additions and 1 deletions

View File

@ -158,7 +158,6 @@ function getFilterQuery(filter: DittoFilter): EventQuery {
.selectFrom('events') .selectFrom('events')
.selectAll() .selectAll()
.where('kind', '=', 0) .where('kind', '=', 0)
.orderBy('created_at', 'desc')
.groupBy('pubkey') .groupBy('pubkey')
.as('authors'), .as('authors'),
(join) => join.onRef('authors.pubkey', '=', 'events.pubkey'), (join) => join.onRef('authors.pubkey', '=', 'events.pubkey'),