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