fix: member sorting at active members

This commit is contained in:
Julian Krauser 2025-01-08 18:09:22 +01:00
parent a968c6af25
commit 03cc0f02b7

View file

@ -124,6 +124,9 @@ export default abstract class MemberService {
.createQueryBuilder("member")
.leftJoinAndSelect("member.memberships", "membership")
.where("membership.end IS NULL")
.orderBy("member.lastname")
.addOrderBy("member.firstname")
.addOrderBy("member.nameaffix")
.getMany()
.then((res) => {
return res;