|
@@ -388,7 +388,7 @@ def serialize_node_for_page(content: Content, context: Context):
|
388
|
388
|
is_new=content.has_new_information_for(context.get_user()),
|
389
|
389
|
content=data_container.description,
|
390
|
390
|
created=data_container.created,
|
391
|
|
- updated=data_container.updated,
|
|
391
|
+ updated=content.last_revision.updated,
|
392
|
392
|
label=data_container.label,
|
393
|
393
|
icon=ContentType.get_icon(content.type),
|
394
|
394
|
owner=context.toDict(content.first_revision.owner),
|
|
@@ -457,7 +457,7 @@ def serialize_node_for_thread(item: Content, context: Context):
|
457
|
457
|
return DictLikeClass(
|
458
|
458
|
content = item.description,
|
459
|
459
|
created = item.created,
|
460
|
|
- updated = item.updated,
|
|
460
|
+ updated = item.last_revision.updated,
|
461
|
461
|
revision_nb = len(item.revisions),
|
462
|
462
|
icon = ContentType.get_icon(item.type),
|
463
|
463
|
id = item.content_id,
|