View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 05461 | Bug reports | Statistics | public | 2011-09-15 11:27 | 2012-03-14 21:08 |
| Reporter | Assigned To | c_schmitz | |||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 1.91+ | ||||
| Fixed in Version | 1.91+ | ||||
| Summary | 05461: Arithmetic mean and deviation are not displayed even if showaggregateddata is set to 1 | ||||
| Description | Even if the optional setting $showaggregateddata is set to 1 in the configuration file, additional values such as arithmetical mean and deviation are not displayed on the statistics page. | ||||
| Steps To Reproduce |
| ||||
| Additional Information | The problem is that the variable $showaggregateddata is not declared as a global variable in the generate_statistics function, in the admin/statistics_function.php Here is a patch (build against limesurvey_dev) that fixes the problem. | ||||
| Tags | No tags attached. | ||||
| Attached Files | fix_showaggregateddata.patch (626 bytes)
Index: admin/statistics_function.php
===================================================================
--- admin/statistics_function.php (révision 10991)
+++ admin/statistics_function.php (copie de travail)
@@ -79,7 +79,7 @@
//$allfields ="";
global $connect, $dbprefix, $clang,
$rooturl, $rootdir, $homedir, $homeurl, $tempdir, $tempurl, $scriptname, $imagedir,
- $chartfontfile, $chartfontsize, $admintheme, $pdfdefaultfont, $pdffontsize;
+ $chartfontfile, $chartfontsize, $admintheme, $pdfdefaultfont, $pdffontsize, $showaggregateddata;
$fieldmap=createFieldMap($surveyid, "full");
| ||||
| Bug heat | 2 | ||||
| Complete LimeSurvey version number (& build) | 9642 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | * | ||||
| Server OS (if known) | * | ||||
| Webserver software & version (if known) | * | ||||
| PHP Version | * | ||||
| Git branch / Pull Request URL | |||||
|
LimeSurvey: Yii f34b1195 2011-09-16 07:58 Details Diff |
Fixed issue 05461: Arithmetic mean and deviation are not displayed even if showaggregateddata is set to 1 git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@10995 b72ed6b6-b9f8-46b5-92b4-906544132732 |
Affected Issues 05461 |
|
| mod - application/helpers/admin/statistics_helper.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-09-15 11:27 |
|
New Issue | |
| 2011-09-15 11:27 |
|
File Added: fix_showaggregateddata.patch | |
| 2011-09-16 14:59 | c_schmitz | Note Added: 16286 | |
| 2011-09-16 14:59 | c_schmitz | Status | new => resolved |
| 2011-09-16 14:59 | c_schmitz | Fixed in Version | => 1.91+ |
| 2011-09-16 14:59 | c_schmitz | Resolution | open => fixed |
| 2011-09-16 14:59 | c_schmitz | Assigned To | => c_schmitz |
| 2011-10-08 22:18 | c_schmitz | Status | resolved => closed |
| 2012-03-14 21:08 | c_schmitz | Changeset attached | => Import 2012-03-09 13:30:34 Yii f34b1195 |