Added summary and categories to recent change item.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user