MantisBT - ATutor
View Issue Details
0003984ATutorTests/Surveyspublic2009-11-05 03:582009-12-01 08:41
greg 
cindy 
normalminoralways
closedfixed 
 
1.6.4 
SVN
0003984: sort by full name test submissions
Clicking on the column header Full Name to sort test submissions geberates an error.

see:
http://www.atutor.ca/view/7/18998/1.html [^]
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /webserver/content/atutor.ca/docs/atutor/ATutor/tools/tests/results.php on line 113

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /webserver/content/atutor.ca/docs/atutor/ATutor/tools/tests/results.php on line 119
No tags attached.
Issue History
2009-11-05 03:58gregNew Issue
2009-11-05 03:58gregAffects version => SVN
2009-11-05 03:58gregStatusnew => assigned
2009-11-05 03:58gregAssigned To => cindy
2009-11-09 06:45cindyStatusassigned => resolved
2009-11-09 06:45cindyFixed in Version => 1.6.4
2009-11-09 06:45cindyResolutionopen => fixed
2009-11-09 06:45cindyNote Added: 0003849
2009-12-01 08:41gregStatusresolved => closed

Notes
(0003849)
cindy   
2009-11-09 06:45   
SVN revision: 8892

Solution: "full_name" is not a table field that can be sorted in SQL. Use array sort to handle it separately.

Affected script: tools/tests/results.php