New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed issue #17883: QueXML formatting cannot be changed (master) #3028
Conversation
…using Export to SAV
…on showing name of available options instead of "Rank #"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks OK. Haven't tested it.
I've just rebased to 6.0.0 and needed to make some changes. I have tested this now on 6.0.0 |
@@ -185,6 +185,15 @@ public function actionView($surveyid, $printableexport = false) | |||
|
|||
$quexmlpdf = new quexmlpdf(); | |||
|
|||
//apply settings stored at last output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code duplication? Looks like the same snippet as below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, could be a routine of quexml?
applyGlobalSettings()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the suggestion I've done that
/** | ||
* Apply global settings from LimeSurvey application | ||
* | ||
* @access public |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This annotation is not needed, it's already set to public
with the keyword. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed :)
* | ||
* @access public | ||
*/ | ||
public function applyGlobalSettings() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Fixed issue #17883: : QueXML formatting cannot be changed (master)
Dev: This is a similar fix for master that was merged in to 3.x-LTS (see #2561 )