loilo / Fuse

🔍 Fuzzy search for PHP, ported from Fuse.js
Apache License 2.0
322 stars 30 forks source link

Option limit dosent work ;) #109

Closed 3G-IMMO-Sebastien closed 1 year ago

loilo commented 1 year ago

Hey @3G-IMMO-Sebastien.

I'd love to help you fixing your problem, but I can't reproduce it, which is mostly because I have no idea what exactly you were trying to do.

Open source maintainers put a lot of time into offering you a program which works and which you can use for free, so I'd like to ask you to return the favor and take your time to write a bug report that contains a code example, what result you get from it and why it's not what you expected it to be. 🙂

3G-IMMO-Sebastien commented 1 year ago

Hey @loilo,

Thank you for your reply!

My apologies, everything is working perfectly.

I added the "limit" option in "new Fuse()" instead of integrating it into the search() function.

Thank you for your work, I am adding a star to your repository. ;)

loilo commented 1 year ago

That's what I suspected. Happy it's working as intended. 👍