Fix search_field
This commit is contained in:
parent
c14cdb06ed
commit
026692b9b2
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ class PeopleRangeAdmin(admin.ModelAdmin):
|
||||||
class PeopleResourceAdmin(admin.ModelAdmin):
|
class PeopleResourceAdmin(admin.ModelAdmin):
|
||||||
fields = ('person', 'resource', 'p_r_role')
|
fields = ('person', 'resource', 'p_r_role')
|
||||||
list_display = ['person', 'resource', 'role']
|
list_display = ['person', 'resource', 'role']
|
||||||
search_fields = ['person__full_name', 'resource', 'role']
|
search_fields = ['person__full_name', 'resource__title', 'p_r_role__role']
|
||||||
|
|
||||||
|
|
||||||
class SpeciesRangeAdmin(admin.ModelAdmin):
|
class SpeciesRangeAdmin(admin.ModelAdmin):
|
||||||
|
|
Loading…
Reference in a new issue