Skip to content

Commit

Permalink
Fixed issue #16637: Statistics: Criteria not cleared for text questio…
Browse files Browse the repository at this point in the history
…n results

Clearing criteria on session if filter not set
  • Loading branch information
gabrieljenik authored and eddylackmann committed Oct 9, 2020
1 parent bd3490c commit 7ec9248
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions application/helpers/admin/statistics_helper.php
Expand Up @@ -3718,6 +3718,8 @@ public function generate_html_chartjs_statistics($surveyid, $allfields, $q2show

//add filter criteria to SQL
$query .= implode(" AND ", $selects);
} else {
unset(Yii::app()->session['statistics_selects_'.$surveyid]);
}

//get me some data Scotty
Expand Down

0 comments on commit 7ec9248

Please sign in to comment.