Temp bug fix
authorSverre Rabbelier <srabbelier@gmail.com>
Sun, 08 Feb 2009 11:58:43 +0000
changeset 1252 6f8759dfb539
parent 1251 106e1b6e7199
child 1253 455c4d320ec4
Temp bug fix This should be fixed properly at some point. Patch by: Sverre Rabbelier
app/soc/views/models/group_app.py
--- a/app/soc/views/models/group_app.py	Sun Feb 08 03:36:05 2009 +0000
+++ b/app/soc/views/models/group_app.py	Sun Feb 08 11:58:43 2009 +0000
@@ -303,8 +303,10 @@
 
     filter = {}
 
-    if kwargs['scope_path']:
+    if kwargs.get('scope_path'):
       filter['scope_path'] = kwargs['scope_path']
+    elif kwargs.get('link_id'):
+      filter['scope_path'] = kwargs['link_id']
 
     # only select the requests that haven't been reviewed yet
     filter['status'] = 'needs review'