Commit cbe14ade authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Affichage de la valeur texte et non numérique dans les exports des résultats bruts

parent df2a961f
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -376,6 +376,7 @@ $nbElements = count($elements);
    <?php
    $brut = [];
    $header = ["Ligne", "Id"];
    $reponses[""] = "";
    foreach ($enquete->getQuestions() as $question) {
        if ($question->hasNote()) $header[] = 'evaluation [' . $question->getLibelle() . ']';
        if ($question->hasCommentaire()) $header[] = 'commentaire [' . $question->getLibelle() . ']';
@@ -395,7 +396,7 @@ $nbElements = count($elements);
                    if (isset($current) and $current->getReponse()) {
                        $evaluation = $current->getReponse();
                    }
                    $data['evaluation_' . $question->getId()] = $evaluation;
                    $data['evaluation_' . $question->getId()] = $reponses[$evaluation];
                }
                if ($question->hasCommentaire()) {
                    $commentaire = "";