* Will look for a classic string term and use that
* Otherwise we'll use the details from an advanced search form.
*/
* Will look for a classic string term and use that
* Otherwise we'll use the details from an advanced search form.
*/
$inputs = $request->only(['search', 'types', 'filters', 'exact', 'tags']);
$instance->searches = explode(' ', $inputs['search'] ?? []);
$instance->exacts = array_filter($inputs['exact'] ?? []);
$inputs = $request->only(['search', 'types', 'filters', 'exact', 'tags']);
$instance->searches = explode(' ', $inputs['search'] ?? []);
$instance->exacts = array_filter($inputs['exact'] ?? []);