Merge branch 'author-rm-orderby' into 'main'

db/events: remove author orderBy clause

See merge request soapbox-pub/ditto!75
This commit is contained in:
Alex Gleason 2023-12-11 20:47:15 +00:00
commit ddf1fce2b6
1 changed files with 0 additions and 1 deletions

View File

@ -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'),