Skip to content

Commit

Permalink
- Add explainer
Browse files Browse the repository at this point in the history
  • Loading branch information
elipe17 committed Oct 16, 2024
1 parent 51cf19e commit bf4c4a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tdrs-backend/tdpservice/data_files/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def download_error_report(self, request, pk=None):
filtered_errors = None
user = self.request.user
if not (user.is_ofa_sys_admin or user.is_ofa_admin):
# All cat1/4 errors
error_type_query = Q(error_type=ParserErrorCategoryChoices.PRE_CHECK) | \
Q(error_type=ParserErrorCategoryChoices.CASE_CONSISTENCY)
filtered_errors = all_errors.filter(error_type_query)
Expand Down

0 comments on commit bf4c4a9

Please sign in to comment.