app/soc/views/models/group.py
changeset 1115 0a723ff3d27c
parent 1085 0afbdd0905ef
child 1127 69a9134c5c7e
--- a/app/soc/views/models/group.py	Sat Jan 31 15:40:32 2009 +0000
+++ b/app/soc/views/models/group.py	Sat Jan 31 15:41:45 2009 +0000
@@ -128,7 +128,7 @@
     # get the group from the request
     group_logic = params['logic']
 
-    group_entity = group_logic.getFromFields(**kwargs)
+    group_entity = group_logic.getFromKeyFields(kwargs)
 
     role_names = params['role_views'].keys()
     
@@ -211,7 +211,7 @@
     # get the group from the request
     group_logic = params['logic']
 
-    group_entity = group_logic.getFromFields(**kwargs)
+    group_entity = group_logic.getFromKeyFields(kwargs)
 
     # create the filter
     filter = {