add food vendor tests
All checks were successful
/ ls (pull_request) Successful in 28s
/ ls (push) Successful in 28s

This commit is contained in:
lubiana 2024-06-14 20:21:16 +02:00
parent 63bf367ab0
commit a7bec45c48
No known key found for this signature in database
8 changed files with 39 additions and 53 deletions

View file

@ -31,7 +31,7 @@ final class FoodOrderRepository extends ServiceEntityRepository
{
$qb = $this->createQueryBuilder('alias');
$qb->orderBy('alias.createdAt', 'DESC');
$qb->orderBy('alias.id', 'DESC');
$qb->setMaxResults($limit);
$query = $qb->getQuery();