diff --git a/client/cliqueMongoAdapter.js b/client/cliqueMongoAdapter.js index 2f77b98..6ca32bc 100644 --- a/client/cliqueMongoAdapter.js +++ b/client/cliqueMongoAdapter.js @@ -167,6 +167,15 @@ pendingRequests.requests = {}; }; + /* Clear any query limits that have been set on nodes */ + this.clearNodeLimits = function () { + _.each(this.accessors, function (node, key) { + if ('limit' in node) { + delete node['limit']; + } + }); + }; + return this; }; }(window.clique, window.jQuery, window._, window.Backbone, window.moment)); diff --git a/client/entity-align.js b/client/entity-align.js index 0e98a9a..4740f4b 100644 --- a/client/entity-align.js +++ b/client/entity-align.js @@ -463,6 +463,8 @@ function initGraph1WithClique () { '#info1'); entityAlign.graph1 = graph; + graph.graph.adapter.clearNodeLimits(); + graph.graph.adapter.findNode({name: centralHandle}).then(function (center) { console.log('center:', center); if (center) {