Index: openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl,v diff -u -r1.54 -r1.55 --- openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl 7 Sep 2005 21:39:34 -0000 1.54 +++ openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl 8 Sep 2005 09:17:11 -0000 1.55 @@ -667,6 +667,8 @@ from dotlrn_ecommerce_application_assessment_map m, as_sessions s where m.session_id = s.session_id and rel_id = :rel_id + order by m.session_id desc + limit 1 }] } { if { ! [empty_string_p $completed_datetime] } { set review_asm_url [export_vars -base /assessment/session { session_id }]