Fixes for search controller
This commit is contained in:
parent
3c1e8f8488
commit
03a25eaed6
|
|
@ -58,6 +58,8 @@ class SearchController extends Controller
|
|||
$user = auth()->user();
|
||||
$company = $user->company();
|
||||
|
||||
\Illuminate\Support\Facades\App::setLocale($company->locale());
|
||||
|
||||
$elastic = ClientBuilder::fromConfig(config('elastic.client.connections.default'));
|
||||
|
||||
$params = [
|
||||
|
|
|
|||
Loading…
Reference in New Issue