Skip to content
Snippets Groups Projects
Commit 99a94918 authored by Dennis Schönhof's avatar Dennis Schönhof
Browse files

edit view to export freetext answers

parent d6a4928c
1 merge request!5edit view to export freetext answers
......@@ -46,7 +46,7 @@
"reduce": "_sum"
},
"count_all_answers_by_question": {
"map": "function(doc) { if (doc.type == 'skill_question_answer') { emit([doc.questionId, doc.answerText], 1); }}",
"map": "function(doc) { if (doc.type == 'skill_question_answer') { emit([doc.questionId, doc.answerText, doc.answerSubject, doc.successfulFreeTextAnswer], 1); }}",
"reduce": "_sum"
},
"count_total_answers_by_question_and_piround": {
......
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