From 5b1fbb787430c0645cc84b9ce127945f2d9abb83 Mon Sep 17 00:00:00 2001 From: Adam Zammit Date: Fri, 2 Jun 2023 01:44:17 +1000 Subject: [PATCH] Fixed issue #18737: Missing response action: View response as queXML PDF (#3042) * Fixed issue #17298: queXML PDF Export: 500: Internal Server Error * Fixed issue #17578: PSPP reports warnings when opening SPSS SAV file using Export to SAV * Fixed issue #14370: QueXML export (Print answers) of a ranking question showing name of available options instead of "Rank #" * Fixed issue #18737: Missing response action: View response as queXML PDF --- application/models/SurveyDynamic.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/application/models/SurveyDynamic.php b/application/models/SurveyDynamic.php index c2c3ad65f4d..0381202cd09 100644 --- a/application/models/SurveyDynamic.php +++ b/application/models/SurveyDynamic.php @@ -295,6 +295,18 @@ public function getGridButtons() ] ), ]; + $dropdownItems[] = [ + 'title' => gT('View response details as queXML PDF'), + 'iconClass' => 'ri-file-pdf-line', + 'url' => App()->createUrl( + "responses/viewquexmlpdf", + [ + "surveyId" => self::$sid, + "id" => $this->id, + "browseLang" => $sBrowseLanguage + ] + ), + ]; $dropdownItems[] = [ 'title' => gT('Edit this response'), 'iconClass' => 'ri-pencil-fill text-success',