Merge pull request #2140 from edx/fix/cdodge/add-randomize-to-list-of-collections

add the new category which can act as a category
This commit is contained in:
chrisndodge
2013-05-30 06:20:21 -07:00

View File

@@ -268,7 +268,7 @@ class MongoModuleStore(ModuleStoreBase):
query = {'_id.org': location.org,
'_id.course': location.course,
'_id.category': {'$in': ['course', 'chapter', 'sequential', 'vertical',
'wrapper', 'problemset', 'conditional']}
'wrapper', 'problemset', 'conditional', 'randomize']}
}
# we just want the Location, children, and inheritable metadata
record_filter = {'_id': 1, 'definition.children': 1}