From 952063278c0c52ea91c42bb77ef30ea21bd8860a Mon Sep 17 00:00:00 2001 From: sudan45 Date: Mon, 25 Nov 2024 12:33:12 +0545 Subject: [PATCH] Fix filter method name --- apps/lead/filter_set.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/lead/filter_set.py b/apps/lead/filter_set.py index d312d85ca..93cfccec9 100644 --- a/apps/lead/filter_set.py +++ b/apps/lead/filter_set.py @@ -556,7 +556,7 @@ def filter_title(self, qs, name, value): class LeadPreviewAttachmentGQFilterSet(UserResourceGqlFilterSet): type = MultipleInputFilter(LeadPreviewAttachmentTypeEnum, field_name='type') exclude_attachment_ids = IDListFilter(method='filter_exclude_lead_attachment_ids') - exclude_lead_with_no_entries = django_filters.BooleanFilter(method='filter_exclude_with_entries') + exclude_lead_with_no_entries = django_filters.BooleanFilter(method='filter_exclude_lead_with_no_entries') class Meta: model = LeadPreviewAttachment