We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df454d8 + aae4e97 commit 0de500fCopy full SHA for 0de500f
1 file changed
projects/filters.py
@@ -50,7 +50,7 @@ def filter_collaborator_count_gt(cls, queryset, name, value):
50
field_name="vacancies", lookup_expr="isnull", exclude=True
51
)
52
collaborator__count__gt = filters.NumberFilter(
53
- field_name="collaborator", lookup_expr="count__gt"
+ field_name="collaborator", method="filter_collaborator_count_gt"
54
55
collaborator__count__lt = filters.NumberFilter(
56
field_name="collaborator", method="filter_collaborator_count_lt"
0 commit comments