Fix game research
This commit is contained in:
parent
c0521005ef
commit
cf544dc596
|
@ -142,8 +142,8 @@ class BorrowAdmin(VersionAdmin):
|
|||
|
||||
class GameAdmin(VersionAdmin, PolymorphicChildModelAdmin):
|
||||
list_display = ('title', 'owner', 'duration', 'players_min',
|
||||
'players_max', 'comment')
|
||||
search_fields = ('name', 'owner__username', 'duration', 'comment')
|
||||
'players_max', 'comment', 'isbn')
|
||||
search_fields = ('isbn', 'title', 'owner__username', 'duration', 'comment')
|
||||
autocomplete_fields = ('owner',)
|
||||
show_in_index = True
|
||||
|
||||
|
|
Loading…
Reference in New Issue