anchor.diff:          user_fun = UserFun,
           user_acc = UserAcc
       },
  -    BaseArgs = #view_query_args{
  +    BaseArgs = #mrargs{
           view_type = red_map,
           start_key = mango_idx:start_key(Idx, Cursor#cursor.ranges),
           end_key = mango_idx:end_key(Idx, Cursor#cursor.ranges),
  
positive.code: 
  
  -include_lib("couch/include/couch_db.hrl").
  -include("mango_cursor.hrl").
  
  
  
negative.code:         [<<"asc">> | _] ->
              apply_opts(Rest, Args);
          [<<"desc">> | _] ->
              SK = Args#mrargs.start_key,
              SKDI = Args#mrargs.start_key_docid,
              EK = Args#mrargs.end_key,
              EKDI = Args#mrargs.end_key_docid,
              NewArgs = Args#mrargs{
                  direction = rev,
                  start_key = EK,
                  start_key_docid = EKDI,
                  end_key = SK,
                  end_key_docid = SKDI
              },
              apply_opts(Rest, NewArgs)
      end;
  