Pull Request: https://github.com/php/web-php/pull/1007
Author: Roy-Orbison

Allow partial terms and multiple search tokens instead of rigid 'begins-with' 
substring matching.

This isn't perfect and could probably do with some tuning of the 
[FuzzySearch](https://github.com/jeancroy/FuzzySearch/blob/36e3ca507d0712af01f07a61f9734bfe22f281b6/dist/FuzzySearch.js#L27)
 parameters, but it's better than the current, very unforgiving, method.

It also adds the `.php` suffix to selected autocomplete results (to match the 
canonical tags), stops the results list from becoming inaccessible when taller 
than the viewport, and drops a couple of unused variables.

![php quick 
search](https://github.com/php/web-php/assets/28617290/175be179-8c32-45e3-a56d-8583ea456a6e)

Reply via email to