Upgrade to 3.0.1

This commit is contained in:
Bastian Allgeier
2019-02-05 11:26:42 +01:00
parent 1dc0eeb768
commit f76ee1bb14
39 changed files with 4217 additions and 65 deletions

View File

@@ -72,7 +72,7 @@ return [
/**
* Query for the files to be included
*/
'query' => function (string $query = 'page.files') {
'query' => function (string $query = null) {
return $query;
},
@@ -105,6 +105,9 @@ return [
'parent' => function () {
return $this->parentModel->apiUrl(true);
},
'query' => function () {
return $this->query ?? $this->parentModel::CLASS_ALIAS . '.files';
},
'default' => function () {
return $this->toFiles($this->default);
},