fix: grouping of memberships
This commit is contained in:
parent
b547c2bbca
commit
ad5f624d5d
2 changed files with 4 additions and 2 deletions
|
@ -55,7 +55,8 @@ export class ExtendViewValues1736084198860 implements MigrationInterface {
|
|||
)
|
||||
.leftJoin("membership.status", "status")
|
||||
.leftJoin("membership.member", "member")
|
||||
.groupBy("status.id"),
|
||||
.groupBy("status.id")
|
||||
.addGroupBy("member.id"),
|
||||
}),
|
||||
true
|
||||
);
|
||||
|
|
|
@ -22,7 +22,8 @@ import { Salutation } from "../enums/salutation";
|
|||
)
|
||||
.leftJoin("membership.status", "status")
|
||||
.leftJoin("membership.member", "member")
|
||||
.groupBy("status.id"),
|
||||
.groupBy("status.id")
|
||||
.addGroupBy("member.id"),
|
||||
})
|
||||
export class membershipView {
|
||||
@ViewColumn()
|
||||
|
|
Loading…
Reference in a new issue