public function search(GlobalSearch $request): View 	{ 		$search = $request->search; 		$provider = $request->provider;  		$sms_messages = IncomingSmsMessage::when($provider, function ($query) use ($provider): void { 			$query->where('provider', $provider); 		}) 			->search($search) 			->latest() 			->get();  		return view('sms-messages.incoming.list', compact('sms_messages', 'provider', 'search')); 	}