Badge query is cleared when changing badges

This is a rather strange one, but I’ve managed to reproduce it quite consistently:

  1. Ensure that you have badge SQL enabled.
  2. Find a badge without a query (or create a new one), and enter a valid query.
  3. Press Save.
  4. Swap badges from the list on the left, and then change back.
  5. Note how your query has disappeared, as well as query-related parameters like the trigger selection and revocation checkbox.
  6. Reload the page – your query and selections return, and now stick.

It’s not a big problem, but it’s a little concerning at first when a query you’ve been working on apparently isn’t saved and disappears. :wink:

This is @sam’s code so I leave it up to him.

1 Like

Fixed per: