feat: sort assignments by start date
closes #869dh1wqx
This commit is contained in:
@@ -364,7 +364,7 @@ class AssignmentRepository extends ServiceEntityRepository
|
|||||||
}
|
}
|
||||||
|
|
||||||
return $qb
|
return $qb
|
||||||
->orderBy('assignment.createdAt', 'DESC')
|
->orderBy('destination.dateFrom', 'ASC')
|
||||||
->setMaxResults($limit)
|
->setMaxResults($limit)
|
||||||
->getQuery()
|
->getQuery()
|
||||||
->getResult()
|
->getResult()
|
||||||
|
|||||||
Reference in New Issue
Block a user