Do not pass unused field "field" into facet template.
authorMike Taylor <mike@indexdata.com>
Fri, 8 May 2015 19:52:54 +0000 (20:52 +0100)
committerMike Taylor <mike@indexdata.com>
Fri, 8 May 2015 19:52:54 +0000 (20:52 +0100)
src/mkws-widget-facets.js

index 04f6dc6..27ddc34 100644 (file)
@@ -60,7 +60,6 @@ mkws.registerWidgetType('facet', function() {
       linkdata += 'onclick="' + action + ';return false;"';
       terms.push({
         term: data[i].name,
-        field: data[i].id,
         count: data[i].freq,
         linkdata: linkdata
       });