Skip to content

Commit

Permalink
issue node4good#116: _path values were being overwritten if fields ha…
Browse files Browse the repository at this point in the history
…d same name
comartmit committed Aug 29, 2014
1 parent 56558cf commit 1b91cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/registry.js
Original file line number Diff line number Diff line change
@@ -166,8 +166,8 @@ function buildModelFilters_fireAndForget(model, models, filters, adapter) {
// TODO: support Juggling
if (model.isJugglingDB) return output;

var _paths = adapter.getPaths(model);
process.nextTick(function () {
var _paths = adapter.getPaths(model);
filters.forEach(function (filter) {
var options = _paths.find({db_path: filter});
if (!options) return;

0 comments on commit 1b91cdf

Please sign in to comment.