fix: oof maybe fix for postgres? temporary

This commit is contained in:
əlemi 2024-06-07 07:26:08 +02:00
parent b61a6ded3b
commit bb52a03bcf
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -154,7 +154,7 @@ impl FromQueryResult for Event {
impl Entity {
pub fn find_addressed(uid: Option<i64>) -> Select<Entity> {
let mut select = Entity::find()
.distinct()
// .distinct()
.select_only()
.join(sea_orm::JoinType::LeftJoin, Relation::Objects.def())
.join(sea_orm::JoinType::LeftJoin, Relation::Activities.def())