After selecting “B”, I click “Launch.” Normally, the setting is cached, so when I open the same URL again, “B” would be selected, but in this case, “A” will be selected.
If I give the above variable a different name (e.g. filter2), it will work as expected. Perhaps, the variable name “filter” may be not cached.
What version did you encounter this with? I believe we should have fixed this, but there could be another issue (the object we use for encapsulating all the data must have a filter API that’s conflicting with this).
This is in fact a bug, which I’ll file the ticket for shortly. If you check the json cached file - filter is being serialized as another JSON object, not a string value which is very odd, so will need some investigation.