View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
07641 | Feature requests | RemoteControl | public | 2013-03-06 15:30 | 2023-01-12 23:45 |
Reporter | alibert | Assigned To | c_schmitz | ||
Priority | normal | Severity | feature | ||
Status | resolved | Resolution | fixed | ||
Summary | 07641: RemoteControl2 - export_responses - Tweak ResponseType to support all features like in frontend | ||||
Description | With export_responses it is only possible to set the repsonse type to 'short' or 'long'. This should be supported in the remote control API-function export_responses. | ||||
Additional Information | Possible solution in export_responses (remotecontrol.php): public function export_responses($sSessionKey, $iSurveyID, $sDocumentType, $sLanguageCode=null, $sCompletionStatus='all', $sHeadingType='full', $sResponseType='short', $iFromResponseID=null, $iToResponseID=null, $aFields=null)
.... Call to the function would look like this: this->export_responses( $sessionKey, $survey_id,'csv','de','all','code',$aFormat); or shorter: export_responses( $sessionKey, $survey_id,'csv','de','all','code',array('answerFormat'=>'short', 'convertY'=>true, 'yValue'=>'1', 'convertN'=>true, 'nValue'=>'2')); | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
User List | mfaber |
---|
As this is very old, not sure what's the next status or steps for this. |
|
@gabrieljenik Thank you for the code review - can you also test it, please? |
|
Added an automatic test case :) |
|
I think this is ready |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=34218 |
|
LimeSurvey: master bf9737c2 2023-01-12 23:44:13 Committer: GitHub Details Diff |
New feature 07641: Options to use Y/N conversion in RemoteControl API export (#2843) |
Affected Issues 07641 |
|
mod - application/helpers/remotecontrol/remotecontrol_handle.php | Diff File | ||
add - tests/data/surveys/survey_archive_RemoteControlExportResponses.lsa | Diff File | ||
mod - tests/unit/helpers/RemoteControlTest.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-03-06 15:30 | alibert | New Issue | |
2013-03-12 14:31 | c_schmitz | Status | new => acknowledged |
2013-03-12 14:31 | c_schmitz | Severity | @40@ => feature |
2013-03-12 15:04 | mfaber | Issue Monitored: mfaber | |
2023-01-09 13:19 | c_schmitz | Assigned To | => gabrieljenik |
2023-01-09 13:19 | c_schmitz | Status | acknowledged => assigned |
2023-01-09 13:50 | gabrieljenik | Note Added: 73404 | |
2023-01-09 13:50 | gabrieljenik | Bug heat | 2 => 4 |
2023-01-10 10:50 | c_schmitz | Note Added: 73409 | |
2023-01-10 10:50 | c_schmitz | Bug heat | 4 => 6 |
2023-01-10 10:51 | c_schmitz | Note Added: 73410 | |
2023-01-10 10:51 | c_schmitz | Note Edited: 73410 | |
2023-01-11 13:34 | gabrieljenik | Note Added: 73434 | |
2023-01-11 13:34 | gabrieljenik | Assigned To | gabrieljenik => c_schmitz |
2023-01-11 13:34 | gabrieljenik | Status | assigned => ready for merge |
2023-01-11 13:34 | gabrieljenik | Note Added: 73435 | |
2023-01-12 23:44 | c_schmitz | Changeset attached | => LimeSurvey master bf9737c2 |
2023-01-12 23:44 | c_schmitz | Note Added: 73455 | |
2023-01-12 23:44 | c_schmitz | Resolution | open => fixed |
2023-01-12 23:45 | c_schmitz | Status | ready for merge => resolved |