chg: [organisations:index] Always include metafields for API requests
parent
f1de7fbf49
commit
2915ced971
|
@ -66,7 +66,7 @@ class OrganisationsController extends AppController
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
$additionalContainFields = [];
|
$additionalContainFields = [];
|
||||||
if ($this->ParamHandler->isRest() && !empty($this->request->getQuery('full'))) {
|
if ($this->ParamHandler->isRest()) {
|
||||||
$additionalContainFields[] = 'MetaFields';
|
$additionalContainFields[] = 'MetaFields';
|
||||||
}
|
}
|
||||||
$containFields = array_merge($this->containFields, $additionalContainFields);
|
$containFields = array_merge($this->containFields, $additionalContainFields);
|
||||||
|
|
Loading…
Reference in New Issue