Templarian / MaterialDesign

✒7000+ Material Design Icons from the Community
https://materialdesignicons.com
Other
10.91k stars 718 forks source link

Alias search don't work very well #7470

Open djpremier opened 1 week ago

djpremier commented 1 week ago

Where are you experiencing this bug?

A specific icon glyph

What is the issue you are experiencing?

Hi,

I tried to search for some icons with aliases that have hyphens (spaces), but the result is not displayed correctly, even when typing exactly the alias configured on the icon. Some examples below:

With specific icon name work as expected: image

With partial alias also: image

But with any alias that contains -, the result is not complete: image

And not even with the exact alias name: image image

Note: In addition to "correcting" this behavior, I believe it would be interesting to "allow" a search like shopping_cart_outline to be equivalent to shopping-cart-outline, that is, replace the _ with - in the query, because icon names for Google are created with underscores.