|
@@ -62,7 +62,7 @@ class ItemAdmin(admin.ModelAdmin):
|
|
'designation', 'type', 'mac_address', 'serial', 'owner',
|
|
'designation', 'type', 'mac_address', 'serial', 'owner',
|
|
'buy_date', 'deployed', 'is_available', 'storage')
|
|
'buy_date', 'deployed', 'is_available', 'storage')
|
|
list_filter = (
|
|
list_filter = (
|
|
- AvailabilityFilter, 'type__name', 'storage',
|
|
|
|
|
|
+ AvailabilityFilter, 'type', 'storage',
|
|
'buy_date', OwnerFilter)
|
|
'buy_date', OwnerFilter)
|
|
search_fields = (
|
|
search_fields = (
|
|
'designation', 'mac_address', 'serial',
|
|
'designation', 'mac_address', 'serial',
|