diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 813e3fe41..2f63d1b36 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -10,6 +10,7 @@ - rfe #12085: Export Related Story Topics - fixed #12076: Paginator shows no results with cached page index - fixed #12087: Extend WebGUI tests to check template attachments + - fixed #12091: Survey Statistical Overview display 7.10.12 - fixed #12072: Product, related and accessory assets diff --git a/lib/WebGUI/Asset/Wobject/Survey.pm b/lib/WebGUI/Asset/Wobject/Survey.pm index 8e01d1e6f..4ed7a96b2 100644 --- a/lib/WebGUI/Asset/Wobject/Survey.pm +++ b/lib/WebGUI/Asset/Wobject/Survey.pm @@ -2363,12 +2363,12 @@ sub www_viewStatisticalOverview { } } else{ - my $responses = $db->read('select value,answerComment from Survey_tempReport' + my $responses = $db->read('select answerValue,answerComment from Survey_tempReport' . ' where sectionNumber=? and questionNumber=?', [$sectionIndex,$questionIndex]); while (my $response = $responses->hashRef) { push @answerloop,{ - 'answer_value' =>$response->{value}, + 'answer_value' =>$response->{answerValue}, 'answer_comment' =>$response->{answerComment} }; }