Improve filtering logic for Advanced Search dropdowns
Currently, the dropdown in Advanced Search has somewhat unintuitive results as it seems to check if the filter is contained at all within the attribute names. This can be confusing as searching for "id" will return results like "validation", "width", and other words that contain "id" when really we're probably searching for "identifier" or "id".
Here's the solution I've arrived at for now, I'll have a PR up soon.
Another improvement would be to move the option that exactly matches the inputted text to the top of the dropdown list. In downstream projects with many attributes, the field that you want could be very far down the list, even though you've inputted the exact full name of the field.