mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2024-11-27 06:53:12 +00:00
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
Block a user