Fix a bad SQL lookup which affected the Survey Statistical Report. Fixes bug #12091
This commit is contained in:
parent
83d1897852
commit
83cb45d8d1
2 changed files with 3 additions and 2 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
- rfe #12085: Export Related Story Topics
|
- rfe #12085: Export Related Story Topics
|
||||||
- fixed #12076: Paginator shows no results with cached page index
|
- fixed #12076: Paginator shows no results with cached page index
|
||||||
- fixed #12087: Extend WebGUI tests to check template attachments
|
- fixed #12087: Extend WebGUI tests to check template attachments
|
||||||
|
- fixed #12091: Survey Statistical Overview display
|
||||||
|
|
||||||
7.10.12
|
7.10.12
|
||||||
- fixed #12072: Product, related and accessory assets
|
- fixed #12072: Product, related and accessory assets
|
||||||
|
|
|
||||||
|
|
@ -2363,12 +2363,12 @@ sub www_viewStatisticalOverview {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else{
|
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=?',
|
. ' where sectionNumber=? and questionNumber=?',
|
||||||
[$sectionIndex,$questionIndex]);
|
[$sectionIndex,$questionIndex]);
|
||||||
while (my $response = $responses->hashRef) {
|
while (my $response = $responses->hashRef) {
|
||||||
push @answerloop,{
|
push @answerloop,{
|
||||||
'answer_value' =>$response->{value},
|
'answer_value' =>$response->{answerValue},
|
||||||
'answer_comment' =>$response->{answerComment}
|
'answer_comment' =>$response->{answerComment}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue