Skip to content

Commit

Permalink
Merge pull request #147 from CogStack/admin-filters
Browse files Browse the repository at this point in the history
CU-8692me3hc: filters for admin page
  • Loading branch information
tomolopolis authored Aug 29, 2023
2 parents 8ea2f0b + f8fb3ab commit 96e61cc
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 96e61cc

Please sign in to comment.