make them nameKeys
This commit is contained in:
parent
7341b00d0c
commit
505e300e60
1 changed files with 7 additions and 7 deletions
|
@ -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})
|
||||||
|
|
Loading…
Reference in a new issue