chg: [organisations:index] Always include metafields for API requests

develop-unstable
Sami Mokaddem 2023-02-13 15:12:54 +01:00
parent f1de7fbf49
commit 2915ced971
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class OrganisationsController extends AppController
];
}
$additionalContainFields = [];
if ($this->ParamHandler->isRest() && !empty($this->request->getQuery('full'))) {
if ($this->ParamHandler->isRest()) {
$additionalContainFields[] = 'MetaFields';
}
$containFields = array_merge($this->containFields, $additionalContainFields);