teamtnt / laravel-scout-tntsearch-driver

Driver for Laravel Scout search package based on https://github.com/teamtnt/tntsearch
MIT License
1.09k stars 142 forks source link

Empty Search #280

Closed i6media closed 4 years ago

i6media commented 4 years ago

Is it possible that if the search string is NULL, All results can be returned (and sorted by a column)?

nticaric commented 4 years ago

If the search string is null you can simply run Model::all()