forked from 0x2620/pandora
display lists in collection list view
This commit is contained in:
parent
940632369a
commit
5024a2ba0c
1 changed files with 5 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue