Skip to content

Commit

Permalink
CU-8692me3hc: filters for admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
tomolopolis committed Aug 29, 2023
1 parent 8ea2f0b commit f8fb3ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webapp/api/api/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,8 @@ class DatasetAdmin(ReportErrorModelAdminMixin, admin.ModelAdmin):
class ProjectAnnotateEntitiesAdmin(admin.ModelAdmin):
model = ProjectAnnotateEntities
actions = [download, download_without_text, download_without_text_with_doc_names, reset_project, clone_projects]
list_filter = ('members', 'project_status', 'project_locked', 'annotation_classification')
list_display = ['name']

def formfield_for_foreignkey(self, db_field, request, **kwargs):
if db_field.name == 'concept_db':
Expand Down

0 comments on commit f8fb3ab

Please sign in to comment.