--- a/app/soc/views/document/list.py Sat Nov 15 03:12:33 2008 +0000
+++ b/app/soc/views/document/list.py Sat Nov 15 16:17:11 2008 +0000
@@ -38,7 +38,7 @@
@decorators.view
-def all(request, page=None, templates={}):
+def all(request, page_name=None, templates={}):
"""Show a list of all Documents (limit rows per page).
Args:
@@ -60,7 +60,7 @@
# create default template context for use with any templates
context = helper.responses.getUniversalContext(request)
- context['page'] = page
+ context['page_name'] = page_name
offset, limit = helper.lists.cleanListParameters(
offset=request.GET.get('offset'), limit=request.GET.get('limit'))