|
@@ -382,7 +382,7 @@ def serialize_node_for_page(content: Content, context: Context):
|
382
|
382
|
icon=ContentType.get_icon(content.type),
|
383
|
383
|
owner=context.toDict(data_container.owner),
|
384
|
384
|
status=context.toDict(data_container.get_status()),
|
385
|
|
- links=context.toDict(content.extract_links_from_content(data_container.description)),
|
|
385
|
+ links=[],
|
386
|
386
|
revisions=context.toDict(sorted(content.revisions, key=lambda v: v.created, reverse=True)),
|
387
|
387
|
selected_revision='latest' if content.revision_to_serialize<=0 else content.revision_to_serialize,
|
388
|
388
|
history=Context(CTX.CONTENT_HISTORY).toDict(content.get_history()),
|
|
@@ -445,7 +445,7 @@ def serialize_node_for_page(item: Content, context: Context):
|
445
|
445
|
icon = ContentType.get_icon(item.type),
|
446
|
446
|
id = item.content_id,
|
447
|
447
|
label = item.label,
|
448
|
|
- links = context.toDict(item.extract_links_from_content(item.description)),
|
|
448
|
+ links=[],
|
449
|
449
|
owner = context.toDict(item.owner),
|
450
|
450
|
parent = context.toDict(item.parent),
|
451
|
451
|
selected_revision = 'latest',
|