1
0
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:
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): 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