Fixed call to get QueryForFields due to changes in r0548101922.
authorLennard de Rijk <ljvderijk@gmail.com>
Fri, 14 Aug 2009 10:21:09 -0700
changeset 2774 14b51b124ccb
parent 2773 6278735d381e
child 2775 4027acdbf91d
Fixed call to get QueryForFields due to changes in r0548101922. The order argument was given as ancestor instead of order.
app/soc/logic/models/review.py
--- a/app/soc/logic/models/review.py	Fri Aug 14 10:13:27 2009 -0700
+++ b/app/soc/logic/models/review.py	Fri Aug 14 10:21:09 2009 -0700
@@ -54,7 +54,7 @@
     fields = {'scope': entity,
               'is_public': is_public}
 
-    query = self.getQueryForFields(fields, order)
+    query = self.getQueryForFields(fields, order=order)
 
     return self.getAll(query)