statamic / v2-hub

Statamic 2 - Feature Requests and Bug Reports
https://statamic.com
95 stars 5 forks source link

Make configurable the min_characters setting for triggering search #2461

Open jeremyvienney opened 5 years ago

jeremyvienney commented 5 years ago

Is your feature request related to a problem? Please describe. In CP when we want filter/search directly on entries in a collection, we have to type at minimum 3 characters to trigger any query fetch. This is problematic for me and this param is not configurable in settings.

Describe the solution you'd like Add this variable settable in settings :

$min_characters = 2; on statamic/core/Search/Comb/Comb.php Line 46

Additional context To be clear we are talking about triggering AJAX request on this field : image