links and apos

This commit is contained in:
j 2024-03-08 11:49:09 +00:00
parent f6154c2d0e
commit 7341b00d0c
1 changed files with 6 additions and 3 deletions

View File

@ -23,11 +23,14 @@ pandora.ui.documentInfoView = function(data, isMixed) {
}).map(function(key) { }).map(function(key) {
return key.id; return key.id;
}), }),
listKeys = pandora.site.documentKeys.filter(function(key) { listKeys = [
"group",
"source"
].concat(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})
@ -227,7 +230,7 @@ pandora.ui.documentInfoView = function(data, isMixed) {
conditions: [{ conditions: [{
key: 'type', operator: '==', value: Ox.decodeHTMLEntities(key) key: 'type', operator: '==', value: Ox.decodeHTMLEntities(key)
}, { }, {
key: 'name', operator: '==', value: Ox.decodeHTMLEntities(data[key] || '') key: 'name', operator: '==', value: Ox.encodeHTMLEntities(Ox.decodeHTMLEntities(data[key] || ''))
}], }],
operator: '&' operator: '&'
}, },