Index: openacs-4/packages/mail-tracking/lib/messages.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/mail-tracking/lib/messages.xql,v diff -u -r1.9.2.2 -r1.9.2.3 --- openacs-4/packages/mail-tracking/lib/messages.xql 8 Jun 2006 15:56:43 -0000 1.9.2.2 +++ openacs-4/packages/mail-tracking/lib/messages.xql 13 Jun 2006 06:47:28 -0000 1.9.2.3 @@ -33,4 +33,15 @@ + + + select o.object_type as content_type, o.object_id as file_id + from acs_data_links r, acs_objects o + where r.object_id_one = :log_id + and r.object_id_two = o.object_id + and o.object_type in ([template::util::tcl_to_sql_list $content_types]) + order by o.object_type, o.object_id + + +