Fix query for current MatrixChat for ticket
This commit is contained in:
parent
037b95aded
commit
95481a289b
|
@ -44,7 +44,7 @@ class ChatMapper extends QBMapper
|
||||||
->from('upschooling_chats')
|
->from('upschooling_chats')
|
||||||
->where(
|
->where(
|
||||||
$qb->expr()->eq('ticket_id', $qb->createNamedParameter($ticketId, IQueryBuilder::PARAM_INT)),
|
$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);
|
return $this->findEntity($qb);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue