feat: change default ordering of documents
This commit is contained in:
@@ -90,7 +90,7 @@ class UploadRepository extends ServiceEntityRepository
|
||||
->innerJoin('assignment.jobProfile', 'job_profile')
|
||||
->innerJoin('assignment.destination', 'destination')
|
||||
->innerJoin('disposition.teamer', 'teamer')
|
||||
->addOrderBy('FIELD(upload.status, :new, :checked)', 'ASC')
|
||||
->addOrderBy('FIELD(upload.status, :checked, :new)', 'DESC')
|
||||
->setParameter('new', Upload::STATUS_NEW)
|
||||
->setParameter('checked', Upload::STATUS_CHECKED)
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user