Commit b7536799 authored by Vincent Mazenod's avatar Vincent Mazenod
Browse files

get label rather colonne number in csv output

parent 4e07d528
......@@ -104,8 +104,14 @@ class JobDatasheetController extends AbstractController
foreach ($results as $line) {
$columns = [];
foreach($line['columns'] as $column)
preg_match_all('/([\d]+)([\+|\-])/', $column, $record);
$columns[] = $job->getColumns()[(int)$record[1][0]-1].$record[2][0];
$fp, array_merge($line['columns'], [$line['frequency']])
$fp, array_merge($columns, [$line['frequency']])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment