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
47aa07e7
Commit
47aa07e7
authored
10 years ago
by
Tom Käsler
Browse files
Options
Downloads
Patches
Plain Diff
#15391 new views to only get subjects for session
parent
2ce5ccb4
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/resources/views/skill_question
+12
-0
12 additions, 0 deletions
src/main/resources/views/skill_question
with
12 additions
and
0 deletions
src/main/resources/views/skill_question
+
12
−
0
View file @
47aa07e7
...
...
@@ -76,6 +76,18 @@
},
"lecture_question_ids_by_session_for_all": {
"map": "function(doc) { if (doc.type == 'skill_question' && doc.questionVariant == 'lecture' && doc.active == 1) { emit([doc.sessionId, doc.subject, doc.text], {}); }}"
},
"lecture_question_subjects_by_session": {
"map": "function(doc) { if (doc.type == 'skill_question' && doc.questionVariant == 'lecture') { emit(doc.sessionId, doc.subject); }}"
},
"preparation_question_subjects_by_session": {
"map": "function(doc) { if (doc.type == 'skill_question' && doc.questionVariant == 'preparation') { emit(doc.sessionId, doc.subject); }}"
},
"lecture_question_ids_by_session_and_subject": {
"map": "function(doc) { if (doc.type == 'skill_question' && doc.questionVariant == 'lecture') { emit([doc.sessionId, doc.subject], doc._id); }}"
},
"preparation_question_ids_by_session_and_subject": {
"map": "function(doc) { if (doc.type == 'skill_question' && doc.questionVariant == 'preparation') { emit([doc.sessionId, doc.subject], doc._id); }}"
}
}
}
This diff is collapsed.
Click to expand it.
Daniel Gerhardt
@dgrh99
mentioned in commit
c09ec82f
·
6 years ago
mentioned in commit
c09ec82f
mentioned in commit c09ec82fbb340a03b4c84364fcf9637d6febb81f
Toggle commit list
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