Skip to content

Commit

Permalink
- Add extra filters
Browse files Browse the repository at this point in the history
- remove erroneous code block
  • Loading branch information
elipe17 committed Sep 27, 2024
1 parent e5f110c commit 3d509cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions tdrs-backend/tdpservice/data_files/admin/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,12 @@ def queryset(self, request, queryset):
]

list_filter = [
'id',
'quarter',
'section',
'stt',
'stt__type',
'stt__region',
'user',
'year',
SubmissionDateFilter,
Expand Down
2 changes: 0 additions & 2 deletions tdrs-backend/tdpservice/data_files/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ def prog_type(self):
# e.g., 'SSP Closed Case Data'
if self.section.startswith('SSP'):
return 'SSP'
elif self.section.startswith('Tribal'):
return 'TAN' # problematic, do we need to infer tribal entirely from tribe/fips code?
else:
return 'TAN'

Expand Down

0 comments on commit 3d509cc

Please sign in to comment.