Ajout du sujet aux exports `download/multiple` et `download/chart`

This commit is contained in:
xdrm-brackets 2016-11-25 13:06:40 +01:00
parent 009b463319
commit 89d804a127
1 changed files with 12 additions and 0 deletions

View File

@ -223,6 +223,12 @@
}
// On ajoute le sujet à la liste des contacts
$output['contacts.mini'] .= self::parseCSV([[
'id' => $subid,
'name' => $subject['subject']['name']
]], [], strlen($output['contacts.mini']) == 0);
/* (4) Si aucune relation -> suivant */
if( !isset($subject['relations']) || !is_array($subject['relations']) )
continue;
@ -392,6 +398,12 @@
}
// On ajoute le sujet à la liste des contacts
$output['gephi.nodes'] .= self::parseCSV([[
'id' => $subid,
'name' => $subject['subject']['name']
]], [], strlen($output['gephi.nodes']) == 0);
/* (4) Si aucune relation -> suivant */
if( !isset($subject['relations']) || !is_array($subject['relations']) )
continue;