Skip to content
Browse files

dealing with the 'order feature' reported here: http://bit.ly/r1yipp

  • Loading branch information...
1 parent 62ff49a commit d978ba6afeff3a03e8636886b77d47b61b74ae1f @landeiro committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/PJsonCouch.js
View
5 lib/PJsonCouch.js
@@ -531,6 +531,11 @@ var PJsonCouch = function (options) {
this.buildRequest = function (method, url) {
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),
reqOpts = Utils.clone(options);

0 comments on commit d978ba6

Please sign in to comment.
Something went wrong with that request. Please try again.