I was recently having trouble with deleted documents not being replicated and it seems that my filter was lacking:
> if (doc._deleted) {
> return true;
> }
>
I suppose that when _deleted is true, CouchDB might not pass the rest of
the properties that are usually attached to a doc?
Otherwise the rest of my filter (even without _deleted check) really should
have been able to return true:
> if (doc.owner && doc.owner=<blah logic>) {
> return true;
> }
>
Thoughts?
