add food vendor tests
This commit is contained in:
parent
63bf367ab0
commit
a7bec45c48
8 changed files with 39 additions and 53 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue