fix: [analyst-data:fetchAnalystDataBulk] Make sure to include all analyst-data type

pull/9454/merge
Sami Mokaddem 2024-04-18 14:32:54 +02:00
parent ed6280f82a
commit 745d2407cf
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class AnalystDataParentBehavior extends ModelBehavior
$this->{$type} = ClassRegistry::init($type);
$this->{$type}->fetchRecursive = !empty($model->includeAnalystDataRecursive);
$temp = $this->{$type}->fetchForUuids($uuid_chunk, $this->__currentUser);
$results = array_merge($results, $temp);
$results = array_merge_recursive($results, $temp);
}
}
return $results;