Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Setup Tool
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
ARSnova Setup Tool
Commits
8e1f7050
Commit
8e1f7050
authored
5 years ago
by
Christoph Thelen
Browse files
Options
Downloads
Patches
Plain Diff
Only emit properties that are required
parent
94435047
1 merge request
!11
Add view that returns full answers by question id
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/resources/views/answer
+1
-1
1 addition, 1 deletion
src/main/resources/views/answer
with
1 addition
and
1 deletion
src/main/resources/views/answer
+
1
−
1
View file @
8e1f7050
...
...
@@ -21,7 +21,7 @@
"map":"function(doc) { if (doc.type == 'skill_question_answer') { emit(doc.questionId, doc._id); }}"
},
"by_questionid_piround":{
"map":"function(doc) { if (doc.type == 'skill_question_answer') { emit([doc.questionId, doc.piRound],
doc
); }}"
"map":"function(doc) { if (doc.type == 'skill_question_answer') { emit([doc.questionId, doc.piRound],
{ answerText: doc.answerText, user: doc.user }
); }}"
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment