Skip to content

Commit

Permalink
Fixed issue #5270: Assessments are not returned in any order
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@10260 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Jun 13, 2011
1 parent 0e95559 commit b16e68f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Expand Up @@ -1257,7 +1257,7 @@ function checkconfield($value)
$value_qid=0;
$value_type='';
$value_isconditionnal='N';

//$value is the fieldname for the field we are checking for conditions
foreach ($_SESSION['fieldarray'] as $sfa) //Go through each field
{
Expand Down Expand Up @@ -2995,7 +2995,7 @@ function doAssessment($surveyid, $returndataonly=false)
}
$query = "SELECT * FROM ".db_table_name('assessments')."
WHERE sid=$surveyid and language='{$_SESSION['s_lang']}'
ORDER BY scope";
ORDER BY scope,id";
if ($result = db_execute_assoc($query)) //Checked

{
Expand Down

0 comments on commit b16e68f

Please sign in to comment.