app/soc/views/helper/redirects.py
changeset 985 f0b02777f403
parent 981 61a6a8d304dc
child 1003 b13da1ddcd50
--- a/app/soc/views/helper/redirects.py	Sun Jan 25 15:09:10 2009 +0000
+++ b/app/soc/views/helper/redirects.py	Sun Jan 25 16:17:33 2009 +0000
@@ -19,6 +19,7 @@
 
 __authors__ = [
   '"Sverre Rabbelier" <sverre@rabbelier.nl>',
+  '"Lennard de Rijk" <ljvderijk@gmail.com>',
   ]
 
 
@@ -94,6 +95,17 @@
   return result
 
 
+def getListRequestsRedirect(entity, params):
+  """Returns the redirect for the List Requests paged for the given
+  Group entity and Group View params.
+  """
+
+  result = '/%s/list_requests/%s' % (
+      params['url_name'], entity.key().name())
+
+  return result
+
+
 def getProcessRequestRedirect(entity, _):
   """Returns the redirect for processing the specified request entity
   """