smithfield-studio / acf-svg-icon-picker

Creates an ACF SVG Icon Picker field
MIT License
13 stars 3 forks source link

[BUG] Can't filter on `Å` and `å` #19

Closed Rvervuurt closed 3 weeks ago

Rvervuurt commented 1 month ago

Expected Behavior

When searching for a file with the special character å, it should show up.

Actual behavior

When searching for a file with the special character å, it is not shown in the popup.

Steps to reproduce behavior

  1. Create a file with name forhåndsvisning.svg and add it to the assets/img/acf/-folder (see attached file)
  2. Search for forh and the icon will appear
  3. Search for forhå and the icon will not appear forhåndsvisning Screenshot 2024-09-23 at 13 19 36 Screenshot 2024-09-23 at 13 19 42 Screenshot 2024-09-23 at 13 19 46

Notes

Other special characters like æ and ø work as expected.

What version of the plugin are you using?

3.1.2

What version of WordPress are you using?

6.6.1

What version of PHP are you using?

8.2

mike-sheppard commented 3 weeks ago

Fixed by @Rvervuurt in #21