Index: openacs-4/packages/evaluation/www/admin/evaluations/student-list.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/evaluation/www/admin/evaluations/student-list.xql,v diff -u -r1.7 -r1.8 --- openacs-4/packages/evaluation/www/admin/evaluations/student-list.xql 30 Jul 2004 22:50:10 -0000 1.7 +++ openacs-4/packages/evaluation/www/admin/evaluations/student-list.xql 24 Aug 2004 22:40:32 -0000 1.8 @@ -1,28 +1,7 @@ - postgresql7.3 - - - - select et.task_name, - et.task_item_id, - eg.grade_id, - eg.grade_plural_name, - eg.weight as grade_weight, - et.weight as task_weight, - to_char(et.due_date, 'YYYY-MM-DD HH24:MI:SS') as due_date_ansi, - et.number_of_members, - et.online_p - from evaluation_grades eg, evaluation_tasks et - where et.task_id = :task_id - and et.grade_item_id = eg.grade_item_id - and content_revision__is_live(eg.grade_id) = true - - - - @@ -54,6 +33,16 @@ + + + + , cc_users cu + where p.person_id = cu.person_id + and cu.member_state = 'approved' + + + + @@ -68,29 +57,15 @@ select count(*) from persons p, - registered_users ru, dotlrn_member_rels_approved app $not_in_clause and app.community_id = :community_id - and app.user_id = ru.user_id and app.user_id = p.person_id and app.role = 'student' - - - select acs_group__name(etg.group_id) as party_name, - etg.group_id as party_id - from evaluation_task_groups etg, evaluation_tasks et - where etg.task_item_id = et.task_item_id - and et.task_id = :task_id - $not_in_clause - $orderby_na - - - select p.person_id as party_id, @@ -105,12 +80,10 @@ select app.user_id as party_id, p.last_name||', '||p.first_names as party_name - from registered_users ru, - dotlrn_member_rels_approved app, + from dotlrn_member_rels_approved app, persons p $not_in_clause and app.community_id = :community_id - and app.user_id = ru.user_id and app.user_id = p.person_id and app.role = 'student' $orderby_na