List public view for organizations should be program limited.
authorLennard de Rijk <ljvderijk@gmail.com>
Thu, 19 Feb 2009 21:54:36 +0000
changeset 1406 60b68fc36df2
parent 1405 43b482f48b12
child 1407 423425ac79f5
List public view for organizations should be program limited. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/views/models/organization.py
--- a/app/soc/views/models/organization.py	Thu Feb 19 21:27:31 2009 +0000
+++ b/app/soc/views/models/organization.py	Thu Feb 19 21:54:36 2009 +0000
@@ -172,6 +172,8 @@
     params = dicts.merge(new_params, params)
 
     new_filter = {}
+
+    new_filter['scope_path'] = kwargs['scope_path']
     new_filter['status'] = 'active'
     filter = dicts.merge(filter, new_filter)