Permalink
Browse files

Removed broken self.extra_where clause.

  • Loading branch information...
1 parent 827d70f commit cc2c0faf1dcc03289b61fce8bf523cb6c7752436 DataMarket committed Oct 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 multilingual/query.py
View
2 multilingual/query.py
@@ -508,7 +508,7 @@ def setup_joins(self, names, opts, alias, dupe_multis, allow_many=True,
def get_count(self):
# optimize for the common special case: count without any
# filters
- if ((not (self.select or self.where or self.extra_where))
+ if ((not (self.select or self.where))
and self.include_translation_data):
obj = self.clone(extra_select = {},
extra_join = {},

0 comments on commit cc2c0fa

Please sign in to comment.