diff --git a/app/admin.py b/app/admin.py index cd8f44e..b8e4075 100644 --- a/app/admin.py +++ b/app/admin.py @@ -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, {