View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
07830Feature requestsRemoteControlpublic2013-06-09 15:54
Reporterbebs Assigned Totrougakoss  
PrioritynormalSeverityfeature 
Status assignedResolutionfixed 
Summary07830: add "question code" to result of remote controls' list_questions'
Description

The return array of list_questions contains qid, language, type and question (for the given language).
Please add question code to make it useful.

Array (
[id] => Array (
[qid] => 11263
[language] => fr
)
[type] => L
[question] => Quelle est votre tranche d'âge?
)

$q = $myJSONRPCClient->list_questions($sessionKey, $survey_id, null, "fr");
print("list_questions:\n");
print_r($q);

Additional Information

sample code:

$q = $myJSONRPCClient->list_questions($sessionKey, $survey_id, null, "fr");
print("list_questions:\n");
print_r($q);

TagsNo tags attached.
Attached Files
Bug heat10
Story point estimate
Users affected %

Users monitoring this issue

bebs

Activities

Mazi

Mazi

2013-05-14 12:11

updater   ~25238

trougakoss, can you extend this a little or would it take more than a few minutes to add that?

trougakoss

trougakoss

2013-05-14 12:29

reporter   ~25239

I will extend it of course.
It will take just a few minutes and you will have it as soon as possible.
I presume that we need the 'title' attribute.
So the expected result will be something like that :
array(4) {
["id"]=>
array(2) {
["qid"]=>
string(4) "1635"
["language"]=>
string(2) "el"
}
["title"]=>
string(5) "1"
["type"]=>
string(1) "L"
["question"]=>
string(37) "What is your name?"
}

trougakoss

trougakoss

2013-05-14 12:43

reporter   ~25241

A pull request is already there.
I will merge it by tonight!

DenisChenu

DenisChenu

2013-05-14 14:10

developer   ~25244

I upadte it to severity : feature to have the vote ;)

trougakoss

trougakoss

2013-05-15 08:47

reporter   ~25263

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

bebs

bebs

2013-05-21 15:12

reporter   ~25326

thanks!

trougakoss

trougakoss

2013-06-09 15:54

reporter   ~25482

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

Related Changesets

LimeSurvey: master bc3fe2ae

2013-05-14 12:40

trougakoss


Details Diff
Fixed Issue 07830: add question code to result of remote controls list_questions Affected Issues
07830
mod - application/controllers/admin/remotecontrol.php Diff File

LimeSurvey: 2.05 59643154

2013-05-14 12:40

trougakoss


Details Diff
Fixed Issue 07830: add question code to result of remote controls list_questions Affected Issues
07830
mod - application/controllers/admin/remotecontrol.php Diff File

LimeSurvey: master 59bd7960

2013-05-15 08:47

trougakoss


Details Diff
Merge pull request #79 from trougakoss/Yii

Fixed Issue 07830: add question code to result of remote controls list_q...
Affected Issues
07830
mod - application/controllers/admin/remotecontrol.php Diff File

Issue History

Date Modified Username Field Change
2013-05-13 09:24 bebs New Issue
2013-05-13 09:24 bebs File Added: limesurvey_survey_73983.lss
2013-05-13 09:24 bebs Issue Monitored: bebs
2013-05-14 12:10 Mazi Assigned To => trougakoss
2013-05-14 12:10 Mazi Status new => assigned
2013-05-14 12:11 Mazi Note Added: 25238
2013-05-14 12:29 trougakoss Note Added: 25239
2013-05-14 12:43 trougakoss Note Added: 25241
2013-05-14 14:09 DenisChenu Severity @50@ => feature
2013-05-14 14:10 DenisChenu Note Added: 25244
2013-05-15 08:47 trougakoss Changeset attached => LimeSurvey master bc3fe2ae
2013-05-15 08:47 trougakoss Changeset attached => LimeSurvey master 59bd7960
2013-05-15 08:47 trougakoss Note Added: 25263
2013-05-15 08:47 trougakoss Resolution open => fixed
2013-05-21 15:12 bebs Note Added: 25326
2013-06-09 15:54 trougakoss Changeset attached => LimeSurvey 2.05 59643154
2013-06-09 15:54 trougakoss Note Added: 25482