mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-04 06:25:22 +01:00
Fixed getElementExistedAtTimestamp function()
This commit is contained in:
@@ -143,8 +143,7 @@ class LogEntryRepository extends DBElementRepository
|
||||
->andWhere('log.target_type = :target_type')
|
||||
->andWhere('log.target_id = :target_id')
|
||||
->andWhere('log.timestamp >= :until')
|
||||
->orderBy('log.timestamp', 'DESC')
|
||||
->groupBy('log.id');
|
||||
;
|
||||
|
||||
$qb->setParameter('target_type', LogTargetType::fromElementClass($element));
|
||||
$qb->setParameter('target_id', $element->getID());
|
||||
|
||||
Reference in New Issue
Block a user