From bb52a03bcf21f79165fb45d1d19bd7de553da069 Mon Sep 17 00:00:00 2001 From: alemi Date: Fri, 7 Jun 2024 07:26:08 +0200 Subject: [PATCH] fix: oof maybe fix for postgres? temporary --- upub/core/src/model/addressing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upub/core/src/model/addressing.rs b/upub/core/src/model/addressing.rs index 10eba2e..b6708e3 100644 --- a/upub/core/src/model/addressing.rs +++ b/upub/core/src/model/addressing.rs @@ -154,7 +154,7 @@ impl FromQueryResult for Event { impl Entity { pub fn find_addressed(uid: Option) -> Select { 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())