chg: [analyst-data:view] Always return attached analyst-data

pull/9679/merge
Sami Mokaddem 2024-05-03 15:30:01 +02:00
parent 21f4b04494
commit 84fda55f9f
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 3 deletions

View File

@ -185,9 +185,7 @@ class AnalystDataController extends AppController
$id = $this->AnalystData->getIDFromUUID($type, $id);
}
if (!$this->IndexFilter->isRest()) {
$this->AnalystData->fetchRecursive = true;
}
$this->AnalystData->fetchRecursive = true;
$conditions = $this->AnalystData->buildConditions($this->Auth->user());
$this->CRUD->view($id, [
'conditions' => $conditions,