|
@@ -392,7 +392,7 @@ def serialize_node_for_page(content: Content, context: Context):
|
392
|
392
|
label=data_container.label,
|
393
|
393
|
icon=ContentType.get_icon(content.type),
|
394
|
394
|
owner=context.toDict(content.first_revision.owner),
|
395
|
|
- last_author=context.toDict(content.last_revision.owner),
|
|
395
|
+ last_modification_author=context.toDict(content.last_revision.owner),
|
396
|
396
|
status=context.toDict(data_container.get_status()),
|
397
|
397
|
links=[],
|
398
|
398
|
revision_nb = len(content.revisions),
|
|
@@ -464,7 +464,7 @@ def serialize_node_for_thread(item: Content, context: Context):
|
464
|
464
|
label = item.label,
|
465
|
465
|
links=[],
|
466
|
466
|
owner = context.toDict(item.owner),
|
467
|
|
- last_author=context.toDict(item.last_revision.owner),
|
|
467
|
+ last_modification_author=context.toDict(item.last_revision.owner),
|
468
|
468
|
parent = context.toDict(item.parent),
|
469
|
469
|
selected_revision = 'latest',
|
470
|
470
|
status = context.toDict(item.get_status()),
|