Fix MKWS-363.
[mkws-moved-to-github.git] / src / mkws-widget-facets.js
index d2063f8..fbf0e47 100644 (file)
@@ -56,10 +56,6 @@ 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;
@@ -77,7 +73,6 @@ mkws.registerWidgetType('facet', function() {
     that.node.html(template({
       name: name,
       caption: caption,
-      query: that.config.query,
       terms: terms
     }));
   });