1
0
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:
Yohann D'ANELLO 2021-11-14 16:41:38 +01:00
parent c0521005ef
commit cf544dc596
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -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