iriscouch / follow

Very stable, very reliable, NodeJS CouchDB _changes follower
Apache License 2.0
393 stars 82 forks source link

req.query undefined in inline filter function #17

Closed hillmark closed 12 years ago

hillmark commented 12 years ago

I kept getting an undefined req.query when using inline filters.

Changing self.pending.request.changes_query to self.pending.source.changes_query on line 534 of feed.js seems to fix the problem.

Thanks.

hillmark commented 12 years ago

Still having trouble with inline filters even with the above partial fix (should read line number 533 instead of 534). Specifying filters in the _design document is working fine, so will stick with that until I get a chance to look in more detail.