Fix sorting for ongoing job orders. #632
This commit is contained in:
parent
1d93c63da7
commit
1f6162cb47
1 changed files with 1 additions and 1 deletions
|
|
@ -1545,7 +1545,7 @@ class APIController extends Controller implements LoggedController
|
|||
$ongoing_jos = $em->getRepository(JobOrder::class)->findBy([
|
||||
'customer' => $cust,
|
||||
'status' => [JOStatus::PENDING, JOStatus::RIDER_ASSIGN, JOStatus::IN_TRANSIT, JOStatus::ASSIGNED, JOStatus::IN_PROGRESS],
|
||||
]);
|
||||
], ['date_schedule' => 'desc']);
|
||||
|
||||
return $ongoing_jos;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue