def getListTasksRedirect(entity, params):
  """Returns the redirect for the List of tasks page for
  the given Org entity and Org View params.
  """

  result = '/%s/list_org_tasks/%s' % (
      params['url_name'], entity.key().id_or_name())

  return result