couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [1/2] couch-mrview commit: updated refs/heads/fix-unsorted-views to 22e0f92
Date Fri, 15 Jul 2016 00:22:31 GMT
Repository: couchdb-couch-mrview
Updated Branches:
  refs/heads/fix-unsorted-views [created] 22e0f9273


Parse sorted param


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/commit/734d1da7
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/734d1da7
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/734d1da7

Branch: refs/heads/fix-unsorted-views
Commit: 734d1da77cd6b4118f40bda4ded88daea91f1686
Parents: 6ec3597
Author: Russell Branca <chewbranca@apache.org>
Authored: Fri Jul 15 00:11:59 2016 +0000
Committer: Russell Branca <chewbranca@apache.org>
Committed: Fri Jul 15 00:11:59 2016 +0000

----------------------------------------------------------------------
 src/couch_mrview_http.erl | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/734d1da7/src/couch_mrview_http.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_http.erl b/src/couch_mrview_http.erl
index 9eb306b..3f29cac 100644
--- a/src/couch_mrview_http.erl
+++ b/src/couch_mrview_http.erl
@@ -518,6 +518,8 @@ parse_param(Key, Val, Args) ->
             Args#mrargs{conflicts=parse_boolean(Val)};
         "callback" ->
             Args#mrargs{callback=couch_util:to_binary(Val)};
+        "sorted" ->
+            Args#mrargs{sorted=parse_boolean(Val)};
         _ ->
             BKey = couch_util:to_binary(Key),
             BVal = couch_util:to_binary(Val),


Mime
View raw message