display lists in collection list view

This commit is contained in:
j 2020-09-11 14:31:50 +02:00
parent 940632369a
commit 5024a2ba0c

View file

@ -26,7 +26,11 @@ pandora.ui.collection = function() {
defaultWidth: key.columnWidth, defaultWidth: key.columnWidth,
format: (function() { format: (function() {
return function(value, data) { return function(value, data) {
return pandora.formatDocumentKey(key, data); var value = pandora.formatDocumentKey(key, data);
if (Ox.isArray(value)) {
value = value.join(', ');
}
return value;
} }
})(), })(),
id: key.id, id: key.id,