Skip to content

Commit

Permalink
dealing with the 'order feature' reported here: http://bit.ly/r1yipp
Browse files Browse the repository at this point in the history
  • Loading branch information
landeiro committed Aug 18, 2011
1 parent 62ff49a commit d978ba6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/PJsonCouch.js
Expand Up @@ -531,6 +531,11 @@ var PJsonCouch = function (options) {
this.buildRequest = function (method, url) { this.buildRequest = function (method, url) {
if (!url.db && !url.serverAction) url.db = myDB; if (!url.db && !url.serverAction) url.db = myDB;


// dealing with the 'order feature' reported here: http://bit.ly/r1yipp
if (url && url.args && url.args.group_level && url.args.group) {
delete url.args.group;
}

var qsparams = Utils.smartQueryString(url.args), var qsparams = Utils.smartQueryString(url.args),
reqOpts = Utils.clone(options); reqOpts = Utils.clone(options);


Expand Down

0 comments on commit d978ba6

Please sign in to comment.