Skip to content

Commit

Permalink
Remove campos desnecessário para a pesquisa por instituição
Browse files Browse the repository at this point in the history
  • Loading branch information
gitnnolabs committed Nov 17, 2022
1 parent 25cf9c3 commit ee65ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion institution/wagtail_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class InstitutionAdmin(ModelAdmin):
add_to_settings_menu = False # or True to add your model to the Settings sub-menu
exclude_from_explorer = False # or True to exclude pages of this type from Wagtail's explorer view
list_display = ('name', 'acronym', 'location', 'source', 'updated')
search_fields = ('name', 'institution_type', 'creator', 'updated', 'created', 'updated_by')
search_fields = ('name', 'institution_type')
list_export = ('name', 'institution_type', 'level_1', 'level_2', 'level_3', 'creator', 'updated', 'created', 'updated_by')
export_filename = 'institutions'

Expand Down

0 comments on commit ee65ea9

Please sign in to comment.