modlinltd / django-advanced-filters

Add advanced filtering abilities to Django admin
https://pypi.org/project/django-advanced-filters/
MIT License
769 stars 172 forks source link

js pages auto changes contains operator to equal #150

Open vikasdamodar opened 3 years ago

vikasdamodar commented 3 years ago

When created a filter with contains operator and tries to open it for edit, the operator is showing as an equal operator and that is being saved in DB as well. Also, value is not displaying in the value field.

Because of this issue https://github.com/modlinltd/django-advanced-filters/issues/141 we have to override forms.

On the FE HTML page, the form is available with the exact selection tag, But somehow js page selecting the operator default

SS

Screenshot 2021-07-21 at 3 31 29 PM Screenshot 2021-07-21 at 3 16 32 PM