modlinltd/django-advanced-filters

operator selectfield jumps back to "equals" on edit page

Opened this issue · 2 comments

ezzra commented

When opening the edit page of a saved filter, it will in the first second show the correct selected value of an operator (for example contains) but then suddenly jumps back to equals, obviously evoked by javascript (does not happen when JS is deactivated).
This also happens, when clicking on "add another filter" in the popup window.

Experienced that with firefox 60.5.1 ESR

Hi ezzra, we have a few pending issues with frontend, and there are a few attempts at fixes (check out PRs). Please feel free to try one of these out and report back. I haven't merged any of the JS fixes because I can't seem to find the time to add a functional test suite and without one, I don't trust changes to not break what already works for the other users (and I don't use the package that much these days).

I'm trying PR #97 and it seems fixed