make them nameKeys

This commit is contained in:
j 2024-03-08 11:53:08 +00:00
parent 7341b00d0c
commit 505e300e60

View file

@ -18,19 +18,19 @@ pandora.ui.documentInfoView = function(data, isMixed) {
iconHeight = iconRatio < 1 ? iconSize : Math.round(iconSize / iconRatio), iconHeight = iconRatio < 1 ? iconSize : Math.round(iconSize / iconRatio),
iconLeft = iconSize == 256 ? Math.floor((iconSize - iconWidth) / 2) : 0, iconLeft = iconSize == 256 ? Math.floor((iconSize - iconWidth) / 2) : 0,
margin = 16, margin = 16,
nameKeys = pandora.site.documentKeys.filter(function(key) { nameKeys = [
return key.sortType == 'person';
}).map(function(key) {
return key.id;
}),
listKeys = [
"group", "group",
"source" "source"
].concat(pandora.site.documentKeys.filter(function(key) { ].concat(pandora.site.documentKeys.filter(function(key) {
return key.sortType == 'person';
}).map(function(key) {
return key.id;
})),
listKeys = pandora.site.documentKeys.filter(function(key) {
return Ox.isArray(key.type); return Ox.isArray(key.type);
}).map(function(key){ }).map(function(key){
return key.id; return key.id;
})), }),
statisticsWidth = 128, statisticsWidth = 128,
$bar = Ox.Bar({size: 16}) $bar = Ox.Bar({size: 16})