From 91c69ed1ddbc7668c7cc7c6ab31411050af6b5b4 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Mon, 19 Jan 2015 11:55:25 +0000 Subject: [PATCH] Towards MKWS-352. MKWS facet widgets now update the mapping of target IDs to displayNames whenever a termlists response comes back with information about the "xtargets" facet. --- src/mkws-widget-facets.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mkws-widget-facets.js b/src/mkws-widget-facets.js index 520faca..d2063f8 100644 --- a/src/mkws-widget-facets.js +++ b/src/mkws-widget-facets.js @@ -56,6 +56,10 @@ mkws.registerWidgetType('facet', function() { count: data[i].freq, linkdata: linkdata }); + + if (!pzIndex) { + team.mapTarget(data[i].id, data[i].name); + } } // configured template > facet specific template > default facet template var template; -- 1.7.10.4