Temp bug fix
This should be fixed properly at some point.
Patch by: Sverre Rabbelier
--- 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'