|
@@ -201,6 +201,7 @@ class AclQueryBuilder {
|
|
|
$this->orderBy = [];
|
|
$this->orderBy = [];
|
|
|
if (!$orderBy) return $this;
|
|
if (!$orderBy) return $this;
|
|
|
// ID A,COL_X D,COL_Y A,...
|
|
// ID A,COL_X D,COL_Y A,...
|
|
|
|
|
+ if (false !== strpos($orderBy, '+')) $orderBy = str_replace('+', ' ', $orderBy);
|
|
|
$sortByEx = array_map('trim', explode(',', $orderBy));
|
|
$sortByEx = array_map('trim', explode(',', $orderBy));
|
|
|
$sortByEx = array_filter($sortByEx, ['V', 'filterNotEmpty']);
|
|
$sortByEx = array_filter($sortByEx, ['V', 'filterNotEmpty']);
|
|
|
foreach ($sortByEx as $sortPart) {
|
|
foreach ($sortByEx as $sortPart) {
|