garrensmith commented on a change in pull request #986: Refactor map/reduce views to use Redux URL: https://github.com/apache/couchdb-fauxton/pull/986#discussion_r142065605
########## File path: app/addons/documents/index-results/api.js ########## @@ -17,6 +17,41 @@ import Constants from '../constants'; import FauxtonAPI from '../../../core/api'; export const queryAllDocs = (fetchUrl, params) => { + // Exclude params 'group', 'reduce' and 'group_level' if present since they not allowed for '_all_docs' + params.group = undefined; Review comment: Would an object.assign work here? It might be a little neater: ``` Object.assign(params, {group: undefined, reduce...})` ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services