refactor: rename module -> block within xmodule
This commit is contained in:
@@ -749,7 +749,7 @@ class FieldDataCache:
|
||||
if depth is None or depth > 0:
|
||||
new_depth = depth - 1 if depth is not None else depth
|
||||
|
||||
for child in descriptor.get_children() + descriptor.get_required_module_descriptors():
|
||||
for child in descriptor.get_children() + descriptor.get_required_block_descriptors():
|
||||
descriptors.extend(get_child_descriptors(child, new_depth, descriptor_filter))
|
||||
|
||||
return descriptors
|
||||
|
||||
Reference in New Issue
Block a user