From 712931da648e884cb625152489840f6dcedcbd45 Mon Sep 17 00:00:00 2001 From: Ambulance Clerc Date: Mon, 2 May 2022 15:55:32 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20du=20filtre=20par=20notifi=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- collabs/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collabs/admin.py b/collabs/admin.py index 1866bac..b90fc3d 100644 --- a/collabs/admin.py +++ b/collabs/admin.py @@ -36,7 +36,7 @@ class Collabs_hour_Admin(admin.ModelAdmin): verbose_name_plural = 'Heures supplémentaires' list_display = ('dtDate', 'nHour', 'nMinutes', 'user', 'sBases', 'type', 'get_total_hour_by_user', 'has_remarques', 'bNoticed') list_editable = ['bNoticed'] - list_filter = [('dtDate', DateRangeFilter), ('user', admin.RelatedOnlyFieldListFilter),'sBases','type'] + list_filter = [('dtDate', DateRangeFilter), ('user', admin.RelatedOnlyFieldListFilter),'sBases','type', 'bNoticed'] search_fields = ['userName']