From c71a2c3ff0c3eccdffeb11e7847af0445c24198e Mon Sep 17 00:00:00 2001 From: j Date: Sat, 9 May 2020 19:06:05 +0200 Subject: [PATCH] exact match if it has a filter --- static/js/documentInfoView.leftovers.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/js/documentInfoView.leftovers.js b/static/js/documentInfoView.leftovers.js index 627540f..1603f48 100644 --- a/static/js/documentInfoView.leftovers.js +++ b/static/js/documentInfoView.leftovers.js @@ -470,8 +470,11 @@ 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(', '); }