iilyak commented on a change in pull request #3568:
URL: https://github.com/apache/couchdb/pull/3568#discussion_r633789319
##########
File path: src/chttpd/src/chttpd_changes.erl
##########
@@ -212,8 +231,10 @@ filter(Db, Change, {doc_ids, Style, DocIds}) ->
end;
filter(Db, Change, {selector, Style, {Selector, _Fields}}) ->
Docs = open_revs(Db, Change, Style),
- Passes = [mango_selector:match(Selector, couch_doc:to_json_obj(Doc, []))
- || Doc <- Docs],
+ Passes = [
+ mango_selector:match(Selector, couch_doc:to_json_obj(Doc, []))
+ || Doc <- Docs
Review comment:
0. I would indent `||` on the same level as previous line. But it reads
good in either case.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]