Fix issues found during testing. #794
This commit is contained in:
parent
bf0d1f664b
commit
93c313f111
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ class JobOrderController extends ApiController
|
||||||
{
|
{
|
||||||
// NOTE: Modify the search for the latest warranty. This seems hacky.
|
// NOTE: Modify the search for the latest warranty. This seems hacky.
|
||||||
// get latest warranty using plate number
|
// get latest warranty using plate number
|
||||||
$warranty_results = $this->em->getRepository(Warranty::class)->findBy(
|
$warranty_results = $em->getRepository(Warranty::class)->findBy(
|
||||||
['plate_number' => $plate_number],
|
['plate_number' => $plate_number],
|
||||||
['date_create' => 'desc']
|
['date_create' => 'desc']
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue