Commit 38c7832f by ichuang

fix tracking log entry key child-id -> child_id

parent 61dbd70c
...@@ -359,7 +359,7 @@ class SplitTestModule(SplitTestFields, XModule, StudioEditableModule): ...@@ -359,7 +359,7 @@ class SplitTestModule(SplitTestFields, XModule, StudioEditableModule):
Record in the tracking logs which child was rendered Record in the tracking logs which child was rendered
""" """
# TODO: use publish instead, when publish is wired to the tracking logs # TODO: use publish instead, when publish is wired to the tracking logs
self.system.track_function('xblock.split_test.child_render', {'child-id': self.child.scope_ids.usage_id.to_deprecated_string()}) self.system.track_function('xblock.split_test.child_render', {'child_id': self.child.scope_ids.usage_id.to_deprecated_string()})
return Response() return Response()
def get_icon_class(self): def get_icon_class(self):
......
...@@ -2166,7 +2166,7 @@ the child module that was shown to the student. ...@@ -2166,7 +2166,7 @@ the child module that was shown to the student.
* - Field * - Field
- Type - Type
- Details - Details
* - ``child-id`` * - ``child_id``
- string - string
- ID of the module that displays to the student. - ID of the module that displays to the student.
......
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