Commit f83a4f51 authored by Chenu Denis's avatar Chenu Denis

[feature] Allow compile by equation, numeric and short text question

parent 90074837
......@@ -4,7 +4,7 @@
* @copyright 2020 Denis Chenu <http://www.sondages.pro>
* @copyright 2020 OECD (Organisation for Economic Co-operation and Development ) <www.oecd.org>
* @license GPL
* @version 1.0.0
* @version 1.1.0
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
......@@ -174,7 +174,7 @@ class filteredAdaptedExport extends PluginBase
$oQuestionCriteria->condition = "t.sid =:sid and t.language=:language and parent_qid = 0";
$oQuestionCriteria->params = array(":sid"=>$surveyId,":language"=>$language);
$oQuestionCriteria->order = "group_order ASC, question_order ASC";
$oQuestionCriteria->addInCondition("type", ['L','!']);
$oQuestionCriteria->addInCondition("type", ['L','!','*','N','S']);
$oaQuestion = Question::model()->with('groups')->findAll($oQuestionCriteria);
$doc = "<ul>";
$doc .= "<li>".$this->translate("If the value is not set : response was not exported.")."</li>";
......
Markdown is supported
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