app/soc/views/site/user/list.py
changeset 232 7741d6b7ce7c
parent 186 da76f08b1752
child 233 42733f531ebf
--- a/app/soc/views/site/user/list.py	Wed Oct 01 02:23:30 2008 +0000
+++ b/app/soc/views/site/user/list.py	Wed Oct 01 05:02:42 2008 +0000
@@ -45,17 +45,18 @@
   offset = request.GET.get('offset')
   limit = request.GET.get('limit')
 
-  offset, limit = list_helpers.getListParemeters(offset, limit)
+  offset, limit = list_helpers.getListParemeters(offset=offset, limit=limit)
   
-  users = id_user.getUsersForOffsetAndLimit(offset, limit)
+  users = id_user.getUsersForOffsetAndLimit(offset=offset, limit=limit)
   
   list_templates = {'list_main': 'soc/list/list_main.html',
                     'list_pagination': 'soc/list/list_pagination.html',
                     'list_row': 'soc/site/user/list/user_row.html',
                     'list_heading': 'soc/site/user/list/user_heading.html'}
                       
-  context = list_helpers.setList(request, context, users, 
-                                 offset, limit, list_templates)
+  context = list_helpers.setList(
+      request, context, users,
+      offset=offset, limit=limit, list_templates=list_templates)
 
   return response_helpers.respond(request, template, context)
                  
\ No newline at end of file