Skip to content

Commit

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

Clearing criteia on session if no filter set
  • Loading branch information
gabrieljenik committed Sep 2, 2020
1 parent 9a60fde commit 83e0ef3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions application/helpers/admin/statistics_helper.php
Expand Up @@ -3668,6 +3668,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 83e0ef3

Please sign in to comment.