Filters need validating twice before updating

Are you using our SaaS platform (Baserow.io) or self-hosting Baserow?

SaaS

What are the exact steps to reproduce this issue?

  1. Edit an existing filter, e.g. FieldA contains “string”, change to “string2”
  2. Hit enter, the grid below the modal updates but the result is not correct (it seems semi random, sometimes several empty records are rendered, sometimes some of the records that should be filtered show up but not all, etc)
  3. Hit enter another time, the gris below updates, this time correctly.

Alternatively

  1. Edit an existing filter, e.g. FieldA contains “string”, change to “string2”
  2. Hit enter, the grid below the modal updates but the result is not correct (it seems semi random, sometimes several empty records are rendered, sometimes some of the records that should be filtered show up but not all, etc)
  3. Close the modal, the grid is not updated
  4. A manual refresh is needed to update the grid to the correctly filtered values

Expected behavior is that the records are correctly updated upon hitting enter the first time, at the end of step 2. And should be definitely updated after the modal is closed.

Note that this happens regardless of the page being flagged as “stale” (no “refresh page” pop up indicating issues with real time updating, etc).

Also this has started happening about a month or so ago, it does appear to be a regression.

Hey @Yam, thanks for the detailed report but I can’t seem to reproduce the issue on my end. :thinking:

Could you record a short video showing what’s happening? That would help us investigate it further.