Browse Source

Merge branch 'develop'

master
Guillaume 4 years ago
parent
commit
3390d12974
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ShopBundle/Repository/TicketRepository.php

+ 1
- 0
ShopBundle/Repository/TicketRepository.php View File

@@ -27,6 +27,7 @@ class TicketRepository extends BaseRepository implements DefaultRepositoryInterf
{
$query = $this->findByMerchantQuery() ;
$query->andWhere('e.status IN (:statusOpen)')->setParameter('statusOpen', [Ticket::TICKET_STATUS_OPEN, Ticket::TICKET_STATUS_BEING_PROCESSED]) ;
$query->addOrderBy('e.id', 'DESC') ;
return $query->getQuery()->getResult() ;
}
}

Loading…
Cancel
Save