Records don't need to notify the record queue.
authorJason Skomorowski <jason@indexdata.com>
Fri, 7 Nov 2014 16:09:03 +0000 (11:09 -0500)
committerJason Skomorowski <jason@indexdata.com>
Fri, 7 Nov 2014 16:09:03 +0000 (11:09 -0500)
src/mkws-widget-main.js

index 0013960..fae978d 100644 (file)
@@ -114,7 +114,6 @@ mkws.registerWidgetType('records', function() {
   this.team.queue("records").subscribe(function(data) {
     for (var i = 0; i < data.hits.length; i++) {
       var hit = data.hits[i];
-      that.team.queue("record").publish(hit);
       hit.detailLinkId = team.recordElementId(hit.recid[0]);
       hit.detailClick = "mkws.showDetails('" + team.name() + "', '" + hit.recid[0] + "');return false;";
       hit.containerClass = "mkws-summary mkwsSummary mkws-team-" + team.name();