Commit 8ae35489 authored by Michal Čihař's avatar Michal Čihař

Revert "Do not handle fallback here, it should not happen"

This reverts commit fc8bcfcc.
parent 79d6ff2b
......@@ -150,6 +150,9 @@ class UnitManager(models.Manager):
return self.filter(has_comment=True)
elif rqtype in CHECKS or rqtype in ['allchecks', 'sourcechecks']:
return self.filter_checks(rqtype, translation, ignored)
else:
# Catch anything not matching including 'all'
return self.all()
def count_type(self, rqtype, translation):
"""
......
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