Removed whitespace in filename of motion pdf (identifier: PrefixNumber).
This commit is contained in:
parent
aca2570cb7
commit
7e5c3f6a27
@ -721,7 +721,7 @@ class MotionPDFView(SingleObjectMixin, PDFView):
|
||||
return _("Motions")
|
||||
else:
|
||||
if self.object.identifier:
|
||||
suffix = self.object.identifier
|
||||
suffix = self.object.identifier.replace(' ', '')
|
||||
else:
|
||||
suffix = self.object.title.replace(' ', '_')
|
||||
suffix = slugify(suffix)
|
||||
|
Loading…
Reference in New Issue
Block a user