fix: grouping of memberships

This commit is contained in:
Julian Krauser 2025-01-05 18:32:41 +01:00
parent b547c2bbca
commit ad5f624d5d
2 changed files with 4 additions and 2 deletions

View file

@ -55,7 +55,8 @@ export class ExtendViewValues1736084198860 implements MigrationInterface {
) )
.leftJoin("membership.status", "status") .leftJoin("membership.status", "status")
.leftJoin("membership.member", "member") .leftJoin("membership.member", "member")
.groupBy("status.id"), .groupBy("status.id")
.addGroupBy("member.id"),
}), }),
true true
); );

View file

@ -22,7 +22,8 @@ import { Salutation } from "../enums/salutation";
) )
.leftJoin("membership.status", "status") .leftJoin("membership.status", "status")
.leftJoin("membership.member", "member") .leftJoin("membership.member", "member")
.groupBy("status.id"), .groupBy("status.id")
.addGroupBy("member.id"),
}) })
export class membershipView { export class membershipView {
@ViewColumn() @ViewColumn()