anchor.diff:  	Ids1 = lists:zip(lists:map(fun to_id/1, Ids), lists:seq(FirstRow, FirstRow+length(Ids)-1)),
   	Html = lists:map(fun({Id,RowNr}) -> 
   						Vars = [
  -							{id, Id}, {row, RowNr}, {is_first, RowNr == FirstRow}
  -						],
  -						z_template:render(Template, Vars, Context1)
  +                                {id, Id}, {row, RowNr}, {is_first, RowNr == FirstRow}
  +                               ] ++ Args,
  +                             Template = proplists:get_value(template, Args),
  +                             z_template:render(Template, Vars, Context1)
   					end, Ids1),
   	z_render:appear_bottom(TargetId, Html, Context1).
   
  
positive.code: %% @doc Show more results.
  %% @spec event(Event, Context1) -> Context2
  %% @todo Handle the "MorePageLen" argument correctly.
  event({postback, {moreresults, SearchName, SearchProps, Page, PageLen, MorePageLen, Template}, TriggerId, TargetId}, Context) ->
      SearchProps1 = [{page, Page}|SearchProps],
      R = m_search:search({SearchName, SearchProps1}, Context),
      Result = R#m_search_result.result,
  
negative.code: 	to_id({Id,_}) when is_integer(Id) -> Id;
  	to_id({_,Id}) when is_integer(Id) -> Id.
  
  make_postback(SearchName, SearchProps, Page, PageLen, MorePageLen, Args, TriggerId, TargetId, Context) ->
      Postback = {moreresults, SearchName, SearchProps, Page, PageLen, MorePageLen, Args},
  	{PostbackJS, _PickledPostback} = z_render:make_postback(Postback, key, TriggerId, TargetId, ?MODULE, Context),
  	{PostbackJS, Context}.
  