Fix search fields for range
This commit is contained in:
parent
6e20923688
commit
3030e84fea
1 changed files with 2 additions and 2 deletions
|
@ -81,8 +81,8 @@ class ResourceAdmin(admin.ModelAdmin):
|
|||
|
||||
class RangeAdmin(admin.ModelAdmin):
|
||||
readonly_fields = ('id',)
|
||||
search_fields = ['name', 'range_name', 'range_name_ascii', 'language__range_name_language', 'range__mother_range',
|
||||
'feature', 'level', 'level', 'level_1', 'level_2', 'level_3', 'peak_name', 'comments', 'source',
|
||||
search_fields = ['name', 'range_name', 'range_name_ascii',
|
||||
'level', 'level', 'level_1', 'level_2', 'level_3', 'peak_name', 'comments', 'source',
|
||||
'name_fr', 'name_de', 'name_es', 'name_pt', 'name_cn', 'name_ru', 'name_tr']
|
||||
fieldsets = (
|
||||
(None, {
|
||||
|
|
Loading…
Reference in a new issue