From 39b2930ce40ecbb4d60810dee5f646b1206fd626 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 10 Aug 2018 14:36:25 +0100 Subject: [PATCH] exact match for other --- static/ontology/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/static/ontology/index.js b/static/ontology/index.js index 000b06e..4594392 100644 --- a/static/ontology/index.js +++ b/static/ontology/index.js @@ -153,10 +153,11 @@ function click(d) { } if (!d.children && ! d._children) { var name = d.parent.name + ': ' + d.name + var url = '/clip/created/keywords=' + name if (d.parent.name == 'other') { - name = d.name + url = '/clip/created/keywords==' + d.name } - window.open('/clip/created/keywords=' + name, '_blank'); + window.open(url, '_blank'); } update(d); }