Index: openacs-4/packages/survey/www/respond-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/survey/www/respond-oracle.xql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/survey/www/respond-oracle.xql 10 Oct 2003 14:41:45 -0000 1.2 +++ openacs-4/packages/survey/www/respond-oracle.xql 10 Oct 2003 14:45:25 -0000 1.3 @@ -10,15 +10,5 @@ - - - - select count(*) from survey_responses - where survey_id=:survey_id - and survey_response.initial_user_id(response_id)=:user_id - and initial_response_id is null - - - Index: openacs-4/packages/survey/www/respond-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/survey/www/respond-postgresql.xql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/survey/www/respond-postgresql.xql 10 Oct 2003 14:41:45 -0000 1.2 +++ openacs-4/packages/survey/www/respond-postgresql.xql 10 Oct 2003 14:45:25 -0000 1.3 @@ -10,15 +10,5 @@ - - - - select count(*) from survey_responses - where survey_id=:survey_id - and survey_response__initial_user_id(response_id)=:user_id - and initial_response_id is null - - - Index: openacs-4/packages/survey/www/respond.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/survey/www/respond.xql,v diff -u -r1.1 -r1.2 --- openacs-4/packages/survey/www/respond.xql 16 Sep 2002 00:00:23 -0000 1.1 +++ openacs-4/packages/survey/www/respond.xql 10 Oct 2003 14:45:25 -0000 1.2 @@ -28,4 +28,17 @@ + + + + select count(*) from survey_responses, + acs_objects + where survey_id=:survey_id + and survey_responses.response_id=acs_objects.object_id + and acs_objects.creation_user=:user_id + and initial_response_id is null + + + +