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.8 -r1.9 --- openacs-4/packages/mail-tracking/lib/messages.xql 14 May 2006 16:11:19 -0000 1.8 +++ openacs-4/packages/mail-tracking/lib/messages.xql 28 May 2006 07:17:27 -0000 1.9 @@ -25,8 +25,8 @@ select distinct ml.log_id, sent_date - from acs_mail_log ml, acs_mail_log_recipient_map mlrm - where ml.log_id=mlrm.log_id + from acs_mail_log ml left outer join acs_mail_log_recipient_map mlrm on (ml.log_id=mlrm.log_id) + where 1=1 $recipient_where_clause [template::list::filter_where_clauses -and -name messages] [template::list::orderby_clause -orderby -name messages]