app/soc/views/models/base.py
changeset 1790 7655a46dcfa3
parent 1784 d5dacf2be926
child 1796 5cd78a7aacdd
--- a/app/soc/views/models/base.py	Tue Mar 10 23:55:33 2009 +0000
+++ b/app/soc/views/models/base.py	Tue Mar 10 23:56:04 2009 +0000
@@ -642,7 +642,9 @@
       # need to use getlist as we want to support multiple values
       filter[key] = request.GET.getlist(key)
 
-    entities = logic.getForFields(filter=filter, limit=1000)
+    query = logic.getQueryForFields(filter=filter)
+    entities = logic.getAll(query)
+
     data = [i.toDict() for i in entities]
 
     return self.json(request, data)