Index: openacs-4/packages/survey/survey.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/survey/survey.info,v diff -u -r1.5 -r1.5.2.1 --- openacs-4/packages/survey/survey.info 23 Sep 2002 23:32:35 -0000 1.5 +++ openacs-4/packages/survey/survey.info 26 Oct 2002 18:25:20 -0000 1.5.2.1 @@ -49,6 +49,7 @@ + @@ -69,7 +70,6 @@ - @@ -107,6 +107,7 @@ + @@ -117,6 +118,9 @@ + + + @@ -157,7 +161,6 @@ - @@ -181,9 +184,6 @@ - - - Index: openacs-4/packages/survey/www/admin/responses-export-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/survey/www/admin/responses-export-oracle.xql,v diff -u -r1.1 -r1.1.2.1 --- openacs-4/packages/survey/www/admin/responses-export-oracle.xql 16 Sep 2002 00:00:24 -0000 1.1 +++ openacs-4/packages/survey/www/admin/responses-export-oracle.xql 26 Oct 2002 18:25:26 -0000 1.1.2.1 @@ -61,7 +61,7 @@ r.creation_date, q.abstract_data_type, q.sort_order - from survey_questions q, (select creation_user as user_id, creation_date, response_id from (select rownum as r_num, rt.* from survey_responses_latest rt where survey_id=:survey_id) where r_num >= $start and r_num <= $end) r, cc_users u, survey_sections ss + from survey_questions q, (select initial_user_id as user_id, creation_date, response_id from survey_responses_latest rt where survey_id=:survey_id) r, cc_users u, survey_sections ss where ss.survey_id=:survey_id and q.section_id=ss.section_id and r.user_id = u.user_id) sq Index: openacs-4/packages/survey/www/admin/responses-export.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/survey/www/admin/responses-export.xql,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/survey/www/admin/responses-export.xql 26 Oct 2002 13:59:43 -0000 1.1.2.1 +++ openacs-4/packages/survey/www/admin/responses-export.xql 26 Oct 2002 18:25:26 -0000 1.1.2.2 @@ -1,6 +1,18 @@ + + + select question_id, abstract_data_type, q.sort_order, + question_text + from survey_questions q, survey_sections s + where s.survey_id = :survey_id + and s.section_id=q.section_id + order by q.sort_order,q.question_id + + + + select count(*) from survey_responses_latest @@ -15,4 +27,4 @@ - \ No newline at end of file +