-
Notifications
You must be signed in to change notification settings - Fork 171
Labels
Description
Describe the bug
If you have a field which should be null, i.e. type "Is NULL", no matter what you select as the key (which should be something, it can't empty, huh?), the key gets replaced with "null" which translates to Python with "None", rather than "true", which becomes "True" in Django, and that is what we want.
See https://docs.djangoproject.com/en/3.0/ref/models/querysets/#isnull for more information.
I think this is the issue:
django-advanced-filters/advanced_filters/forms.py
Lines 94 to 95 in 90a8ed5
| if formdata['operator'] == "isnull": | |
| return {key: None} |
Reactions are currently unavailable