orderby disabled where not needed

This commit is contained in:
Michele Comitini
2013-04-13 00:03:43 +02:00
parent 7b0cf5bc12
commit 9bda793d46
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -9833,7 +9833,7 @@ class Set(object):
return built
def isempty(self):
return not self.select(limitby=(0,1))
return not self.select(limitby=(0,1), orderby_on_limitby=False)
def count(self,distinct=None, cache=None):
db = self.db