Skip to content

Commit

Permalink
Fixed issue #5323: .missing class added in answered filtered array qu…
Browse files Browse the repository at this point in the history
…estion "Show question index / allow jumping" modality - patch by flocs

Fixed issue #5508: $printanswershonorsconditions settings doesn't work - all questions are shown in Print Answers page -  
Dev printanswershonorsconditions config variable is now completely removed and Print answers always honors conditions

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@11207 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Oct 19, 2011
1 parent c46b2d2 commit 4ec26f3
Show file tree
Hide file tree
Showing 3 changed files with 1,838 additions and 1,850 deletions.
1 change: 0 additions & 1 deletion application/config/lsconfig.php
Expand Up @@ -57,7 +57,6 @@
// has not been answered. 1=Allow, 0=Deny
$config['deletenonvalues'] = 1; // By default, LimeSurvey does not save responses to conditional questions that haven't been answered/shown. To have LimeSurvey save these responses change this value to 0.
$config['stringcomparizonoperators'] = 0; // By default, LimeSurvey assumes the numrical order for comparizon operators in conditions. If you need string comparizon operators, set this parameter to 1
$config['printanswershonorsconditions'] = 1; // Set to 1 if you want the participant printanswers feature to show only the questions that were displayed survey branching-logic
$config['shownoanswer'] = 1; // Show 'no answer' for non mandatory questions ( 0 = no , 1 = yes , 2 = survey admin can choose )
$config['admintheme'] = 'default'; // This setting specifys the directory where the admin finds it theme/css style files, e.g. setting 'default' points to /admin/styles/default
$config['userideditable'] = 'N';
Expand Down
2 changes: 1 addition & 1 deletion application/controllers/printanswers.php
Expand Up @@ -217,7 +217,7 @@ function view($surveyid,$printableexport=FALSE)
// Since all data are loaded, and don't need JavaScript, pretend all from Group 1
LimeExpressionManager::StartProcessingGroup(1,($thissurvey['anonymized']!="N"),$surveyid);

$aFullResponseTable=aGetFullResponseTable($surveyid,$id,$language);
$aFullResponseTable=aGetFullResponseTable($surveyid,$id,$language,true);

//Get the fieldmap @TODO: do we need to filter out some fields?
unset ($aFullResponseTable['id']);
Expand Down

0 comments on commit 4ec26f3

Please sign in to comment.