Made Survey::getResponseDetails template vars consistent
This commit is contained in:
parent
b54a3a0262
commit
e85335cbc7
3 changed files with 9 additions and 1 deletions
|
|
@ -1510,6 +1510,7 @@ sub getResponseDetails {
|
||||||
$tags->{endDateEpoch} = $endDateEpoch;
|
$tags->{endDateEpoch} = $endDateEpoch;
|
||||||
$tags->{userId} = $ruserId;
|
$tags->{userId} = $ruserId;
|
||||||
$tags->{username} = $rusername;
|
$tags->{username} = $rusername;
|
||||||
|
$tags->{responseId} = $responseId;
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
templateVars => $tags,
|
templateVars => $tags,
|
||||||
|
|
@ -1525,6 +1526,7 @@ sub getResponseDetails {
|
||||||
restart => $tags->{restart},
|
restart => $tags->{restart},
|
||||||
timeout => $tags->{timeout},
|
timeout => $tags->{timeout},
|
||||||
timeoutRestart => $tags->{timeoutRestart},
|
timeoutRestart => $tags->{timeoutRestart},
|
||||||
|
responseId => $tags->{responseId},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -415,10 +415,11 @@ our $HELP = {
|
||||||
fields => [],
|
fields => [],
|
||||||
variables => [
|
variables => [
|
||||||
{ name => 'complete', description => 'response complete help' },
|
{ name => 'complete', description => 'response complete help' },
|
||||||
{ name => 'restart', description => 'response complete help' },
|
{ name => 'restart', description => 'response restart help' },
|
||||||
{ name => 'timeout', description => 'response timeout help' },
|
{ name => 'timeout', description => 'response timeout help' },
|
||||||
{ name => 'timeoutRestart', description => 'response timeout restart help' },
|
{ name => 'timeoutRestart', description => 'response timeout restart help' },
|
||||||
{ name => 'endDate', description => 'response endDate help' },
|
{ name => 'endDate', description => 'response endDate help' },
|
||||||
|
{ name => 'responseId', description => 'responseId help' },
|
||||||
],
|
],
|
||||||
related => [
|
related => [
|
||||||
{ tag => 'survey template',
|
{ tag => 'survey template',
|
||||||
|
|
|
||||||
|
|
@ -981,6 +981,11 @@ directly inside the answer_loop for other types of questions.|,
|
||||||
message => q|A boolean flag indicating whether the Survey Response completed|,
|
message => q|A boolean flag indicating whether the Survey Response completed|,
|
||||||
lastUpdated => 1242180657,
|
lastUpdated => 1242180657,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'responseId help' => {
|
||||||
|
message => q|The unique GUID for the response|,
|
||||||
|
lastUpdated => 1242180657,
|
||||||
|
},
|
||||||
|
|
||||||
'response restart' => {
|
'response restart' => {
|
||||||
message => q|Survey Response restarted|,
|
message => q|Survey Response restarted|,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue