Index: openacs-4/packages/survey/www/admin/responses.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/survey/www/admin/responses.xql,v diff -u -r1.2 -r1.2.4.1 --- openacs-4/packages/survey/www/admin/responses.xql 30 Oct 2003 17:10:19 -0000 1.2 +++ openacs-4/packages/survey/www/admin/responses.xql 4 Aug 2004 19:34:15 -0000 1.2.4.1 @@ -57,10 +57,12 @@ select cr.title, qr.question_id, qr.response_id - from cr_revisions cr, survey_ques_responses_latest qr + from cr_revisions cr, survey_ques_responses_latest qr, survey_responses sr where revision_id=attachment_answer and qr.question_id=question_id + and sr.response_id = qr.response_id + and survey_id = :survey_id