forked from alemi/upub
fix: oof maybe fix for postgres? temporary
This commit is contained in:
parent
b61a6ded3b
commit
bb52a03bcf
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue