mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 04:53:26 +00:00
Fix CS
This commit is contained in:
@@ -34,7 +34,7 @@ class OrderRepository extends EntityRepository
|
|||||||
|
|
||||||
if ($sort === 'user') {
|
if ($sort === 'user') {
|
||||||
$qb->orderBy('o.userId', 'ASC');
|
$qb->orderBy('o.userId', 'ASC');
|
||||||
} else if ($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', 'ASC');
|
||||||
|
Reference in New Issue
Block a user