apostrophe-schemas
Advanced tools
Comparing version 0.5.31 to 0.5.32
@@ -611,2 +611,3 @@ var async = require('async'); | ||
_.each(_joins, function(join) { | ||
join._dotPath = arrays.join('.') + '.' + join.name; | ||
// If we have more than one object we're not interested in joins | ||
@@ -618,3 +619,2 @@ // with the ifOnlyOne restriction right now. | ||
join._arrays = _.clone(arrays); | ||
join._dotPath = arrays.join('.') + '.' + join.name; | ||
}); | ||
@@ -674,2 +674,5 @@ joins = joins.concat(_joins); | ||
function findObjectsInArrays(objects, arrays) { | ||
if (!arrays) { | ||
return []; | ||
} | ||
if (!arrays.length) { | ||
@@ -676,0 +679,0 @@ return objects; |
{ | ||
"version": "0.5.31", | ||
"version": "0.5.32", | ||
"name": "apostrophe-schemas", | ||
@@ -4,0 +4,0 @@ "description": "Schemas for easy editing of properties in Apostrophe objects", |
100698
1327