hay-kot / homebox

Homebox is the inventory and organization system built for the Home User
https://hay-kot.github.io/homebox/
GNU Affero General Public License v3.0
2.71k stars 213 forks source link

Parent location with Chinese name unable to select #904

Open Helloookimi opened 6 months ago

Helloookimi commented 6 months ago

First Check

Homebox Version

DEMO

What is the issue you are experiencing?

I am very interested in your project and it aligns well with my needs, but when I tried to use it in the demo version, I encountered some issues.When creating a location in Chinese, if you want to select a parent location with a Chinese name, can not display location with Chinese name. Thank you for creating this project, and I hope it continues to improve and grow.

How can the maintainer reproduce the issue?

Creating a new location with a Chinese name, and then attempting to create another location which unable to correctly select the parent location with the Chinese name.

Deployment

Other

Deployment Details

online DEMO

Helloookimi commented 6 months ago

I just try if add any English letters first such as "D地下室“ of any number before which could be use as Parent location

coolguy001tv commented 5 months ago

I deep into frontend code, find that it seems to be a bug in lunr which hasn't been updated for 4 years. Actually, in homebox 0.10.3, Chinese letters are OK.