Skip to content

Commit

Permalink
Fixed issue #10289: Sorting responses by completed "Yes/No/All" does …
Browse files Browse the repository at this point in the history
…not work properly
  • Loading branch information
olleharstedt committed Mar 9, 2016
1 parent 05c72a3 commit 4fe647d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions application/controllers/admin/responses.php
Expand Up @@ -696,14 +696,6 @@ public function getResponses_json($iSurveyID)
$aSpecificColumns=array_merge($aSpecificColumns,TokenDynamic::model($iSurveyID)->getTableSchema()->getColumnNames());
}

if (incompleteAnsFilterState() == "incomplete")
{
$oCriteria->addCondition("submitdate IS NULL");
}
elseif (incompleteAnsFilterState() == "complete")
{
$oCriteria->addCondition("submitdate IS NOT NULL");
}
//Get the filter data
//if (Yii::app()->request->getPost('sql') && stripcslashes(Yii::app()->request->getPost('sql')) !== "" && Yii::app()->request->getPost('sql') != "NULL")
// $oCriteria->addCondition(stripcslashes(Yii::app()->request->getPost('sql')));
Expand Down

0 comments on commit 4fe647d

Please sign in to comment.