Change the API call to warranties to sort by date_create #195
This commit is contained in:
parent
c37323924a
commit
3e79c3960c
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ class WarrantyController extends APIController
|
|||
|
||||
$query = $qb->select('w')
|
||||
->from('App\\Entity\\Warranty', 'w')
|
||||
->orderBy('w.serial', $order)
|
||||
->orderBy('w.date_create', $order)
|
||||
->setFirstResult($start)
|
||||
->setMaxResults($max)
|
||||
->getQuery();
|
||||
|
|
|
|||
Loading…
Reference in a new issue