db/events: remove author orderBy clause
This commit is contained in:
parent
e91fbf7b50
commit
29d3b7bf89
|
@ -158,7 +158,6 @@ function getFilterQuery(filter: DittoFilter): EventQuery {
|
|||
.selectFrom('events')
|
||||
.selectAll()
|
||||
.where('kind', '=', 0)
|
||||
.orderBy('created_at', 'desc')
|
||||
.groupBy('pubkey')
|
||||
.as('authors'),
|
||||
(join) => join.onRef('authors.pubkey', '=', 'events.pubkey'),
|
||||
|
|
Loading…
Reference in New Issue