Skip to content
Snippets Groups Projects
Commit 7d7ffbc6 authored by Tom Käsler's avatar Tom Käsler
Browse files

Merge branch 'master' into 'master'

edit view to export freetext answers

Edit view to export freetext answers

See merge request !5
parents d6a4928c 99a94918
1 merge request!5edit view to export freetext answers
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
"reduce": "_sum" "reduce": "_sum"
}, },
"count_all_answers_by_question": { "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" "reduce": "_sum"
}, },
"count_total_answers_by_question_and_piround": { "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