Commit 4fb5312e authored by Michal Čihař's avatar Michal Čihař

Fuzzy should not be set for translated messages, so we can remove this...

Fuzzy should not be set for translated messages, so we can remove this condition (and speed up the query)
parent cc5bf897
......@@ -156,7 +156,7 @@ class UnitManager(models.Manager):
if rqtype != 'allchecks':
checks = checks.filter(check = rqtype)
checks = checks.values_list('checksum', flat = True)
return self.filter(checksum__in = checks, fuzzy = False, translated = True)
return self.filter(checksum__in = checks, translated = True)
else:
return self.all()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment