Commit f5000c0d authored by Michal Čihař's avatar Michal Čihař

Do not include fuzzy and not translated while looking for failed checks

parent 1370191b
...@@ -76,6 +76,6 @@ class UnitManager(models.Manager): ...@@ -76,6 +76,6 @@ class UnitManager(models.Manager):
check = rqtype, check = rqtype,
ignore = False) ignore = False)
sugs = sugs.values_list('checksum', flat = True) sugs = sugs.values_list('checksum', flat = True)
return self.filter(checksum__in = sugs) return self.filter(checksum__in = sugs, fuzzy = False, translated = True)
else: else:
return self.all() 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