Project

General

Profile

« Previous | Next » 

Revision 4034

save point before extending to allow merging across assessments

View differences:

assessmentQuery.jsp
26 26
	fileName += ".csv";
27 27
	
28 28
	//AssessmentQuery.testEcogrid("edml.4.5");
29
	ResultSet rs = AssessmentQuery.selectResponseData(assessmentDocIds, questionId, "=", new Integer(0));
29
	ResultSet rs = null;
30
	if (questionId != null) {
31
		rs = AssessmentQuery.selectResponseData(assessmentDocIds, questionId, "=", new Integer(1));
32
	}
33
	else {
34
		rs = AssessmentQuery.selectMergedResponseData(assessmentDocIds);
35
	}
30 36
	
31 37
	if (rs == null) {
32 38
		return;

Also available in: Unified diff