app/soc/views/models/group_app.py
changeset 1252 6f8759dfb539
parent 1248 f318538394d9
child 1253 455c4d320ec4
equal deleted inserted replaced
1251:106e1b6e7199 1252:6f8759dfb539
   301 
   301 
   302     params = dicts.merge(params, self._params)
   302     params = dicts.merge(params, self._params)
   303 
   303 
   304     filter = {}
   304     filter = {}
   305 
   305 
   306     if kwargs['scope_path']:
   306     if kwargs.get('scope_path'):
   307       filter['scope_path'] = kwargs['scope_path']
   307       filter['scope_path'] = kwargs['scope_path']
       
   308     elif kwargs.get('link_id'):
       
   309       filter['scope_path'] = kwargs['link_id']
   308 
   310 
   309     # only select the requests that haven't been reviewed yet
   311     # only select the requests that haven't been reviewed yet
   310     filter['status'] = 'needs review'
   312     filter['status'] = 'needs review'
   311 
   313 
   312     ur_params = params.copy()
   314     ur_params = params.copy()