View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
09031Bug reportsRemoteControlpublic2015-01-16 18:11
Reporterravi4957 Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Fixed in Version2.05+ 
Summary09031: "get_summary" of survey is returning same count for complete and incomplete responses
Description

get_summary call returns only incomplete responses count in both parameters (complete and incomplete responses)

check below details
https://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/remotecontrol/remotecontrol_handle.php

compare line number 560 and 561

Additional Information

To solve the above issue, the lines should be something like below

$aSummary['completed_responses']= SurveyDynamic::model($iSurveyID)->count('submitdate IS NOT NULL');
$aSummary['incomplete_responses']=SurveyDynamic::model($iSurveyID)->countByAttributes(array('submitdate' => null));

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2014-09-11 23:09

administrator   ~30590

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14495

Related Changesets

LimeSurvey: master 14f9e7d6

2014-09-11 21:08:54

c_schmitz

Details Diff
Fixed issue 09031: get_summary does not return correct completed_responses (patch by ravindrakhokharia) Affected Issues
09031
mod - application/helpers/remotecontrol/remotecontrol_handle.php Diff File

Issue History

Date Modified Username Field Change
2014-05-12 14:56 ravi4957 New Issue
2014-09-11 23:09 c_schmitz Changeset attached => LimeSurvey master 14f9e7d6
2014-09-11 23:09 c_schmitz Note Added: 30590
2014-09-11 23:09 c_schmitz Assigned To => c_schmitz
2014-09-11 23:09 c_schmitz Resolution open => fixed
2015-01-16 17:13 c_schmitz Project Feature requests => Bug reports
2015-01-16 18:11 c_schmitz Severity feature => minor
2015-01-16 18:11 c_schmitz Status new => assigned
2015-01-16 18:11 c_schmitz Status assigned => closed
2015-01-16 18:11 c_schmitz Fixed in Version => 2.05+