Missed extra search field

This commit is contained in:
Matthew Ryan Dillon 2016-01-29 12:48:27 -07:00
parent c4b8911cc4
commit e5a3edb75e

View file

@ -71,7 +71,7 @@ class StorageLocationAdmin(admin.ModelAdmin):
list_display = ('__str__', 'facility', 'building', 'room', 'freezer', 'temp_c', list_display = ('__str__', 'facility', 'building', 'room', 'freezer', 'temp_c',
'description', 'sort_order') 'description', 'sort_order')
list_display_links = ('__str__',) list_display_links = ('__str__',)
search_fields = ('__str__', 'facility', 'building', 'room', 'freezer', 'temp_c', search_fields = ('facility', 'building', 'room', 'freezer', 'temp_c',
'description') 'description')
list_per_page = 25 list_per_page = 25
fields = ('facility', 'building', 'room', 'freezer', 'temp_c', fields = ('facility', 'building', 'room', 'freezer', 'temp_c',