projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1cc4e4
)
Towards MKWS-352.
author
Mike Taylor
<mike@indexdata.com>
Mon, 19 Jan 2015 11:55:25 +0000
(11:55 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Mon, 19 Jan 2015 11:55:25 +0000
(11:55 +0000)
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
patch
|
blob
|
history
diff --git
a/src/mkws-widget-facets.js
b/src/mkws-widget-facets.js
index
520faca
..
d2063f8
100644
(file)
--- 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;