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')
|
.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'),
|
||||||
|
|
Loading…
Reference in New Issue