Skip to content

Commit

Permalink
Merge pull request #740 from openedx/iahmad/ENT-8192-2
Browse files Browse the repository at this point in the history
feat: Updated admin interface for m2m fields in academies
  • Loading branch information
irfanuddinahmad authored Jan 11, 2024
2 parents 9d8971f + c6afeff commit 7869945
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions enterprise_catalog/apps/academy/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class TagAdmin(admin.ModelAdmin):
"""
list_display = ('id', 'title', )
search_fields = ('title', )
filter_horizontal = ('content_metadata',)


@admin.register(Academy)
Expand All @@ -23,3 +24,4 @@ class AcademyAdmin(SimpleHistoryAdmin):
"""
list_display = ('uuid', 'title', 'created', 'modified', )
search_fields = ('title', 'short_description', 'long_description', )
filter_horizontal = ('enterprise_catalogs', 'tags', )

0 comments on commit 7869945

Please sign in to comment.