add datatbles for invoices, add pdf icon, refactor icons components, add autocomplete on search, adapt searching to meilisearch

This commit is contained in:
ludo
2024-02-04 02:51:38 +01:00
parent 067532b6fc
commit 4c6f9b3b61
39 changed files with 503 additions and 211 deletions

View File

@@ -12,7 +12,8 @@ class SearchController extends Controller
{
$data = $request->input();
$data['product_type'] = 'botanic';
$articles = Searches::getResults($request->input());
// $articles = Searches::getResults($request->input());
$articles = Searches::search($request->input());
$data = [
'articles' => $articles,
'articles_count' => $articles ? count($articles) : 0,
@@ -20,8 +21,6 @@ class SearchController extends Controller
'product_type' => $data['product_type'],
];
// dump($data);
// exit;
return view('Shop.Search.results', $data);
}
}