diff --git a/static/js/documentInfoView.js b/static/js/documentInfoView.js
index 8e2a20a9..1e95728d 100644
--- a/static/js/documentInfoView.js
+++ b/static/js/documentInfoView.js
@@ -423,8 +423,10 @@ pandora.ui.documentInfoView = function(data, isMixed) {
function formatLink(value, key) {
return (Ox.isArray(value) ? value : [value]).map(function(value) {
+ var documentKey = Ox.getObjectById(pandora.site.documentKeys, key),
+ op = documentKey && documentKey.filter ? '==' : '=';
return key
- ? '' + value + ''
+ ? '' + value + ''
: value;
}).join(', ');
}
diff --git a/static/js/infoView.js b/static/js/infoView.js
index 440cb9b0..59cccc69 100644
--- a/static/js/infoView.js
+++ b/static/js/infoView.js
@@ -528,10 +528,12 @@ pandora.ui.infoView = function(data, isMixed) {
linkValue = linkValue || value
linkValue = Ox.isArray(linkValue) ? linkValue: [linkValue]
return (Ox.isArray(value) ? value : [value]).map(function(value, idx) {
+ var itemKey = Ox.getObjectById(pandora.site.itemKeys, key),
+ op = itemKey && itemKey.filter ? '==' : '=';
return key
? '' + value + ''
+ ) + op + pandora.escapeQueryValue(Ox.decodeHTMLEntities(linkValue[idx])) + '">' + value + ''
: value;
}).join(Ox.contains(specialListKeys, key) ? '; ' : ', ');
}