Fix query for current MatrixChat for ticket

This commit is contained in:
Ben 2022-04-30 16:03:39 +02:00
parent 037b95aded
commit 95481a289b
Signed by: ben
GPG Key ID: 0F54A7ED232D3319
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class ChatMapper extends QBMapper
->from('upschooling_chats')
->where(
$qb->expr()->eq('ticket_id', $qb->createNamedParameter($ticketId, IQueryBuilder::PARAM_INT)),
$qb->expr()->isNull('end_date')
$qb->expr()->isNull('date_end')
);
return $this->findEntity($qb);
}