mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2024-11-27 09:33:03 +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):
|
class GameAdmin(VersionAdmin, PolymorphicChildModelAdmin):
|
||||||
list_display = ('title', 'owner', 'duration', 'players_min',
|
list_display = ('title', 'owner', 'duration', 'players_min',
|
||||||
'players_max', 'comment')
|
'players_max', 'comment', 'isbn')
|
||||||
search_fields = ('name', 'owner__username', 'duration', 'comment')
|
search_fields = ('isbn', 'title', 'owner__username', 'duration', 'comment')
|
||||||
autocomplete_fields = ('owner',)
|
autocomplete_fields = ('owner',)
|
||||||
show_in_index = True
|
show_in_index = True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user