diff --git a/core/trunk/sql/150.sql b/core/trunk/sql/150.sql index e8f71a06e114c0a9d821536794458cccadba00f0..5e3573700e036bc536e87fe8fa4f32cbad49e0f0 100644 --- a/core/trunk/sql/150.sql +++ b/core/trunk/sql/150.sql @@ -553,7 +553,7 @@ CREATE VIEW res_view_letterbox AS mlb.flag_notif, mlb.flag_alarm1, mlb.flag_alarm2, mlb.is_multicontacts, r.video_user, r.video_time, r.video_batch, r.subject, r.identifier, r.title, r.priority, mlb.process_notes, r.locker_user_id, r.locker_time, - ca.case_id, ca.case_label, ca.case_description, en.entity_label, + ca.case_id, ca.case_label, ca.case_description, en.entity_label, en.entity_type AS entityType, cont.contact_id AS contact_id, cont.firstname AS contact_firstname, cont.lastname AS contact_lastname, cont.society AS contact_society, u.lastname AS user_lastname, diff --git a/core/trunk/sql/structure.sql b/core/trunk/sql/structure.sql index 4a81e32bd76e18f14b1de2332281cd5d8bf34130..dc1c7a1ad64ac788dc4ae32347162ab3551e0a83 100644 --- a/core/trunk/sql/structure.sql +++ b/core/trunk/sql/structure.sql @@ -3711,7 +3711,7 @@ CREATE VIEW res_view_letterbox AS mlb.flag_notif, mlb.flag_alarm1, mlb.flag_alarm2, mlb.is_multicontacts, r.video_user, r.video_time, r.video_batch, r.subject, r.identifier, r.title, r.priority, mlb.process_notes, r.locker_user_id, r.locker_time, - ca.case_id, ca.case_label, ca.case_description, en.entity_label, + ca.case_id, ca.case_label, ca.case_description, en.entity_label, en.entity_type AS entityType, cont.contact_id AS contact_id, cont.firstname AS contact_firstname, cont.lastname AS contact_lastname, cont.society AS contact_society, u.lastname AS user_lastname,