[BUG] Search for Metaobject entries that contain a `&` or other special characters stops the search

In the context of a product metafield that is of type list.metaobject_reference, if you try to search for an entry that has an & in the display name (and I’m assuming some other special characters), it won’t find it. However, if you search for the entry name up to the &, it works - makes it difficult to find entries when you are heavily leveraging metaobjects.

I.e:

Entry Display Name: Kills bacteria & viruses fast

In the Product metafield selection UI, if you search for Kills bacteria & viruses fast it’ll show no matching entries.

However, if you search for Kills bacteria then it will. As soon as you enter that special character, it stops returning results.

It works fine in the actual Metaobjects Entries overview list and search.

Special Character Search bug

Hey Lewis!

Thanks for flagging this - have connected with our internal team on this, and shared your GIF. Appreciate you raising this here.

1 Like

Hey Lewis,

Our product team did identify what might be causing this bug and are investigating a fix. Will update here when I learn more.

1 Like