Disable ORDER for now

This commit is contained in:
Tony Klink 2024-01-25 22:00:15 -06:00
parent 0e8047c948
commit 2c787998c2
Signed by: klink
GPG key ID: 85175567C4D19231

View file

@ -939,7 +939,7 @@ impl NostrSqlite {
self.get_filter_query(filter),
sea_query::Alias::new("events"),
)
.order_by(EventsTable::CreatedAt, order.to_owned())
// .order_by(EventsTable::CreatedAt, order.to_owned())
.to_owned()
})
.reduce(|mut result, query| result.union(sea_query::UnionType::All, query).to_owned())