We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8c21f5e + 920cf96 commit 174a203Copy full SHA for 174a203
lib/Template/CollaboraTemplateProvider.php
@@ -46,7 +46,7 @@ public function getCustomTemplates(string $mimetype): array {
46
47
return array_map(function (File $file) {
48
$template = new Template(CollaboraTemplateProvider::class, (string)$file->getId(), $file);
49
- $template->setCustomPreviewUrl($this->urlGenerator->linkToRouteAbsolute('richdocuments.templates.getPreview', ['fileId' => $file->getId()]));
+ $template->setCustomPreviewUrl($this->urlGenerator->linkToRouteAbsolute('richdocuments.templates.getPreview', ['fileId' => $file->getId(), 'a' => true]));
50
return $template;
51
}, $collaboraTemplates);
52
}
0 commit comments