chore: fix deprecations
This commit is contained in:
1 parent
52926ec6cc
commit
4b20aad98e
18 files changed
+52
-52
No files matched your search
@@ -231,7 +231,7 @@ class ApplicationRepository extends ServiceEntityRepository
|
||||
->innerJoin('application.teamer', 'teamer')
|
||||
->innerJoin('teamer.user', 'user')
|
||||
->where($qb->expr()->neq('application.status', ':status'))
|
||||
->orderBy('application.createdAt', 'DESC')
|
||||
->orderBy('application.createdAt', \SortDirection::Descending)
|
||||
->setParameter('status', Application::STATUS_REJECTED)
|
||||
->setMaxResults($limit)
|
||||
->getQuery()
|
||||
@@ -280,8 +280,8 @@ class ApplicationRepository extends ServiceEntityRepository
|
||||
->innerJoin('application.assignment', 'assignment')
|
||||
->innerJoin('assignment.destination', 'destination')
|
||||
->groupBy('hotelCode')
|
||||
->orderBy('totalCount', 'DESC')
|
||||
->addOrderBy('hotelCode', 'ASC')
|
||||
->orderBy('totalCount', \SortDirection::Descending)
|
||||
->addOrderBy('hotelCode', \SortDirection::Ascending)
|
||||
;
|
||||
|
||||
SeasonPeriodFilter::apply($qb, $dateFrom, $dateTo);
|
||||
|
||||
Reference in new issue
Block a user