Github user benkeen commented on the pull request:
https://github.com/apache/couchdb-fauxton/pull/537#issuecomment-143319960
How to reproduce:
1. Create a new view and give it a custom Map Function (like `function(doc)
{ emit(doc.id, 123); }`)
2. save it, the go back to the db's all_docs page
3. Create a second new view, with a different Map Function (like
`function(doc) { emit(doc.id, 456); }`)
4. Save it, go back to the all_docs page again
5. In the sidebar, click on the first View.
Result: the Map Function should should the first view's map function & not
the second. Current master incorrectly shows the second map function.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---