liquid_feedback_frontend
changeset 1549:0fce83763138
Added logging of external references to ontomap
author | bsw |
---|---|
date | Tue Oct 27 12:33:57 2020 +0100 (2020-10-27) |
parents | 408e4b1d5234 |
children | a13a0071f873 |
files | lib/ontomap/ontomap.lua |
line diff
1.1 --- a/lib/ontomap/ontomap.lua Mon Oct 26 11:06:53 2020 +0100 1.2 +++ b/lib/ontomap/ontomap.lua Tue Oct 27 12:33:57 2020 +0100 1.3 @@ -215,6 +215,10 @@ 1.4 table.insert(log_event.references, new_reference_object( 1.5 marker_link, config.firstlife.application_ident, "BELONGS_TO" 1.6 )) 1.7 + elseif event.initiative.external_reference then 1.8 + table.insert(log_event.references, new_reference_object( 1.9 + event.initiative.external_reference, config.firstlife.application_ident, "BELONGS_TO" 1.10 + )) 1.11 end 1.12 1.13 local activity_object = new_activity_object{ 1.14 @@ -241,6 +245,10 @@ 1.15 table.insert(log_event.references, new_reference_object( 1.16 marker_link, config.firstlife.application_ident, "BELONGS_TO" 1.17 )) 1.18 + elseif event.initiative.external_reference then 1.19 + table.insert(log_event.references, new_reference_object( 1.20 + event.initiative.external_reference, config.firstlife.application_ident, "BELONGS_TO" 1.21 + )) 1.22 end 1.23 local activity_object = new_activity_object{ 1.24 type = "initiative",