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->{userId} = $ruserId;
|
||||
$tags->{username} = $rusername;
|
||||
$tags->{responseId} = $responseId;
|
||||
}
|
||||
return {
|
||||
templateVars => $tags,
|
||||
|
|
@ -1525,6 +1526,7 @@ sub getResponseDetails {
|
|||
restart => $tags->{restart},
|
||||
timeout => $tags->{timeout},
|
||||
timeoutRestart => $tags->{timeoutRestart},
|
||||
responseId => $tags->{responseId},
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -415,10 +415,11 @@ our $HELP = {
|
|||
fields => [],
|
||||
variables => [
|
||||
{ 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 => 'timeoutRestart', description => 'response timeout restart help' },
|
||||
{ name => 'endDate', description => 'response endDate help' },
|
||||
{ name => 'responseId', description => 'responseId help' },
|
||||
],
|
||||
related => [
|
||||
{ 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|,
|
||||
lastUpdated => 1242180657,
|
||||
},
|
||||
|
||||
'responseId help' => {
|
||||
message => q|The unique GUID for the response|,
|
||||
lastUpdated => 1242180657,
|
||||
},
|
||||
|
||||
'response restart' => {
|
||||
message => q|Survey Response restarted|,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue