allow to order tables by more fields (#1902)
This commit is contained in:
@@ -18,7 +18,10 @@ class ProjectQuery extends BaseQuery implements VisibilityInterface
|
||||
{
|
||||
use VisibilityTrait;
|
||||
|
||||
public const PROJECT_ORDER_ALLOWED = ['id', 'name', 'comment', 'customer', 'orderNumber', 'projectStart', 'projectEnd'];
|
||||
public const PROJECT_ORDER_ALLOWED = [
|
||||
'id', 'name', 'comment', 'customer', 'orderNumber', 'projectStart',
|
||||
'projectEnd', 'orderNumber', 'orderDate', 'start', 'end', 'visible'
|
||||
];
|
||||
|
||||
/**
|
||||
* @var array
|
||||
|
||||
Reference in New Issue
Block a user