From: Mike Taylor Date: Mon, 19 Jan 2015 11:55:25 +0000 (+0000) Subject: Towards MKWS-352. X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=91c69ed1ddbc7668c7cc7c6ab31411050af6b5b4 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. --- 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;