anchor.diff:  parse_request_args([], Acc) ->
       Acc;
   parse_request_args([{"zotonic_host",_}|Rest], Acc) ->
  +    parse_request_args(Rest, Acc);
  +parse_request_args([{"zotonic_dispatch",_}|Rest], Acc) ->
       parse_request_args(Rest, Acc);
   parse_request_args([{K,V}|Rest], Acc) ->
       NewVal = V,
  
positive.code: request_arg("sort")                -> sort;
  request_arg("text")                -> text;
  request_arg("upcoming")            -> upcoming;
  request_arg(Term)                  -> throw({error, {unknown_query_term, Term}}).
  
  
  
negative.code: parse_query([{upcoming, true}|Rest], Context, Result) ->
       Result1 = add_where("rsc.pivot_date_end >= current_date", Result),
       parse_query(Rest, Context, Result1);
  
  %% authoritative={true|false}
  %% Filter on items which are authoritative or not
  parse_query([{authoritative, Boolean}|Rest], Context, Result) ->
      {Arg, Result1} = add_arg(Boolean, Result),
       Result2 = add_where("rsc.is_authoritative = " ++ Arg, Result1),
       parse_query(Rest, Context, Result2);
  
  %% query_id=<rsc id>
  %% Get the query terms from given resource ID, and use those terms.
  