Added summary and categories to recent change item.

This commit is contained in:
2016-11-30 15:40:12 +01:00
parent ff58c6aff9
commit 41fb8d5730
3 changed files with 54 additions and 2 deletions

View File

@@ -362,6 +362,16 @@ feature -- Hooks
end
ch.set_information (l_info)
ch.set_author (n.author)
ch.set_summary (n.summary)
if attached {CMS_TAXONOMY_API} l_node_api.cms_api.module_api ({CMS_TAXONOMY_MODULE}) as l_taxonomy_api then
if attached l_taxonomy_api.terms_of_content (n, Void) as l_terms then
across
l_terms as t_ic
loop
ch.add_category (t_ic.item.text)
end
end
end
a_changes.force (ch)
else
-- Forbidden