mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Change default sort direction for created_on sorts in order manager
This commit is contained in:
@@ -55,7 +55,7 @@ class OrderRepository extends EntityRepository
|
|||||||
} elseif ($sort === 'usage') {
|
} elseif ($sort === 'usage') {
|
||||||
$qb->orderBy('o.orderUsage', 'ASC');
|
$qb->orderBy('o.orderUsage', 'ASC');
|
||||||
} else {
|
} else {
|
||||||
$qb->orderBy('o.createdOn', 'ASC');
|
$qb->orderBy('o.createdOn', 'DESC');
|
||||||
}
|
}
|
||||||
|
|
||||||
$qb
|
$qb
|
||||||
|
Reference in New Issue
Block a user