mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-21 13:57:57 -05:00
Updated the title splicing length to 100 in playlist, category and media models (#1364)
This commit is contained in:
@@ -245,7 +245,7 @@ class Media(models.Model):
|
||||
strip_text_items = ["title", "description"]
|
||||
for item in strip_text_items:
|
||||
setattr(self, item, strip_tags(getattr(self, item, None)))
|
||||
self.title = self.title[:99]
|
||||
self.title = self.title[:100]
|
||||
|
||||
# if thumbnail_time specified, keep up to single digit
|
||||
if self.thumbnail_time:
|
||||
|
||||
Reference in New Issue
Block a user