Merge branch 'hotfix/5.7.7'
This commit is contained in:
@@ -186,6 +186,12 @@ class Base
|
||||
$result['orderBy'] = 'LIST:' . $sortBy . ':' . implode(',', $list);
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
if (strpos($sortBy, '.') === false && strpos($sortBy, ':') === false) {
|
||||
if (!$this->getSeed()->hasAttribute($sortBy)) {
|
||||
throw new Error("Order by non-existing field '{$sortBy}'.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!$desc) {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "espocrm",
|
||||
"version": "5.7.6",
|
||||
"version": "5.7.7",
|
||||
"description": "",
|
||||
"main": "index.php",
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user