Skip to content

Commit

Permalink
regression: Reports by-department showing null when department no lon…
Browse files Browse the repository at this point in the history
…ger exists (#30350)
  • Loading branch information
KevLehman authored Sep 12, 2023
1 parent 091f248 commit 8202f27
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/meteor/ee/server/models/raw/LivechatRooms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,13 @@ export class LivechatRoomsRawEE extends LivechatRoomsRaw implements ILivechatRoo
},
},
},
{
$match: {
_id: {
$ne: null,
},
},
},
{
$sort: sort || { total: 1 },
},
Expand Down

0 comments on commit 8202f27

Please sign in to comment.