Commit 4d73961a by ichuang

'videosequence' and 'proctor' need to be in inheritable moduletypes in

modulestore/mongo/base.py
parent 4cb78630
...@@ -312,8 +312,8 @@ class MongoModuleStore(ModuleStoreBase): ...@@ -312,8 +312,8 @@ class MongoModuleStore(ModuleStoreBase):
# note this is a bit ugly as when we add new categories of containers, we have to add it here # note this is a bit ugly as when we add new categories of containers, we have to add it here
query = {'_id.org': location.org, query = {'_id.org': location.org,
'_id.course': location.course, '_id.course': location.course,
'_id.category': {'$in': ['course', 'chapter', 'sequential', 'vertical', '_id.category': {'$in': ['course', 'chapter', 'sequential', 'vertical', 'videosequence',
'wrapper', 'problemset', 'conditional', 'randomize']} 'wrapper', 'problemset', 'conditional', 'randomize', 'proctor']}
} }
# we just want the Location, children, and inheritable metadata # we just want the Location, children, and inheritable metadata
record_filter = {'_id': 1, 'definition.children': 1} record_filter = {'_id': 1, 'definition.children': 1}
......
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