X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/97c8c6d7c7961976172bece182832d01c9c0fc4b..02fb0f76b6b1e69383b8fc61d3aa819d6598f9f8:/src/club/admin.py diff --git a/src/club/admin.py b/src/club/admin.py index e0beaeada..24884f160 100644 --- a/src/club/admin.py +++ b/src/club/admin.py @@ -39,7 +39,7 @@ class PayUCardTokenInline(admin.TabularInline): class ScheduleAdmin(admin.ModelAdmin): list_display = ['email', 'started_at', 'payed_at', 'expires_at', 'amount', 'monthly', 'yearly', 'is_cancelled'] - list_search = ['email'] + search_fields = ['email'] list_filter = ['is_cancelled'] date_hierarchy = 'started_at' raw_id_fields = ['membership']