Skip to content

Commit e742147

Browse files
ThibautBorngotcha
authored andcommitted
no brackets for displaying lists or tuples
1 parent a18566d commit e742147

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plone/app/contenttypes/browser/folder.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ def tabular_fielddata(self, item, fieldname):
195195
]:
196196
value = self.toLocalizedTime(value, long_format=1)
197197

198+
if isinstance(value, (list, tuple)):
199+
value = ", ".join([entry for entry in value])
200+
198201
return {
199202
# 'title': _(fieldname, default=fieldname),
200203
"value": value

0 commit comments

Comments
 (0)