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")
|
return _("Motions")
|
||||||
else:
|
else:
|
||||||
if self.object.identifier:
|
if self.object.identifier:
|
||||||
suffix = self.object.identifier
|
suffix = self.object.identifier.replace(' ', '')
|
||||||
else:
|
else:
|
||||||
suffix = self.object.title.replace(' ', '_')
|
suffix = self.object.title.replace(' ', '_')
|
||||||
suffix = slugify(suffix)
|
suffix = slugify(suffix)
|
||||||
|
Loading…
Reference in New Issue
Block a user