app/soc/views/models/organization.py
changeset 1676 a3c33bef2ea8
parent 1668 e3780ee24322
child 1683 866667e9343d
equal deleted inserted replaced
1675:6ba61cce4b52 1676:a3c33bef2ea8
   198     ranked_params = list_params.copy()# ranked proposals
   198     ranked_params = list_params.copy()# ranked proposals
   199     ranked_params['list_description'] = 'List of %s send to %s ' % (
   199     ranked_params['list_description'] = 'List of %s send to %s ' % (
   200         ranked_params['name_plural'], org_entity.name)
   200         ranked_params['name_plural'], org_entity.name)
   201     ranked_params['list_action'] = (redirects.getReviewRedirect, ranked_params)
   201     ranked_params['list_action'] = (redirects.getReviewRedirect, ranked_params)
   202 
   202 
   203     filter = {'org' : org_entity,
   203     # TODO(ljvderijk) once sorting with IN operator is fixed, 
   204               'status': ['pending', 'accepted']}
   204     # make this list show more
       
   205     filter = {'org': org_entity,
       
   206               'status': 'pending'}
   205 
   207 
   206     # order by descending score
   208     # order by descending score
   207     order = ['-score']
   209     order = ['-score']
   208 
   210 
   209     prop_list = lists.getListContent(
   211     prop_list = lists.getListContent(