app/soc/views/models/base.py
changeset 1801 747b0d1115ea
parent 1796 5cd78a7aacdd
child 1805 7204ec5ead23
--- a/app/soc/views/models/base.py	Thu Mar 12 00:48:23 2009 +0000
+++ b/app/soc/views/models/base.py	Thu Mar 12 00:48:52 2009 +0000
@@ -625,8 +625,7 @@
       logic: the logic that will be used for the query
     """
 
-    query = logic.getQueryForFields(filter=filter)
-    entities = logic.getAll(query)
+    entities = logic.getForFields(filter=filter, limit=1000)
     return entities
 
   @decorators.merge_params