From 6599fe1ef88072764dc02f2ba7ba81b0487098dc Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Tue, 13 Nov 2018 09:26:36 +0200 Subject: [PATCH] fixes #191 --- app/lib/functions/parenting.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/lib/functions/parenting.js b/app/lib/functions/parenting.js index eb3e01f2..fe62eacb 100644 --- a/app/lib/functions/parenting.js +++ b/app/lib/functions/parenting.js @@ -3,10 +3,12 @@ var childSchema = new SimpleSchema({ "parent.collection": {type: String}, "parent.id": {type: String, regEx: SimpleSchema.RegEx.Id, index: 1}, "parent.group": {type: String, optional: true}, + "removed": {type: Boolean, optional: true, index: 1}, "removedWith": { optional: true, type: String, regEx: SimpleSchema.RegEx.Id, + index: 1, }, });