fix common/lib/xmodule/xmodule/modulestore/mongo/base.py
This commit is contained in:
@@ -313,7 +313,7 @@ class MongoModuleStore(ModuleStoreBase):
|
||||
query = {'_id.org': location.org,
|
||||
'_id.course': location.course,
|
||||
'_id.category': {'$in': ['course', 'chapter', 'sequential', 'vertical', 'videosequence',
|
||||
'wrapper', 'problemset', 'conditional', 'randomize', 'proctor']}
|
||||
'wrapper', 'problemset', 'conditional', 'randomize']}
|
||||
}
|
||||
# we just want the Location, children, and inheritable metadata
|
||||
record_filter = {'_id': 1, 'definition.children': 1}
|
||||
|
||||
Reference in New Issue
Block a user