fix: member sorting at active members
This commit is contained in:
parent
a968c6af25
commit
03cc0f02b7
1 changed files with 14 additions and 11 deletions
|
@ -124,6 +124,9 @@ export default abstract class MemberService {
|
||||||
.createQueryBuilder("member")
|
.createQueryBuilder("member")
|
||||||
.leftJoinAndSelect("member.memberships", "membership")
|
.leftJoinAndSelect("member.memberships", "membership")
|
||||||
.where("membership.end IS NULL")
|
.where("membership.end IS NULL")
|
||||||
|
.orderBy("member.lastname")
|
||||||
|
.addOrderBy("member.firstname")
|
||||||
|
.addOrderBy("member.nameaffix")
|
||||||
.getMany()
|
.getMany()
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
return res;
|
return res;
|
||||||
|
|
Loading…
Reference in a new issue