diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php index 6ff766e..435b1cf 100644 --- a/app/Http/Controllers/SearchController.php +++ b/app/Http/Controllers/SearchController.php @@ -67,7 +67,7 @@ class SearchController extends Controller foreach ($adjuncts as $adjunct){ $adjunctname = Adjunct::where('id', $adjunct->id)->value('name'); $result['adjuncts'][$i]['id'] = $adjunct->id; - $result['adjuncts'][$i]['name'] = $hopname; + $result['adjuncts'][$i]['name'] = $adjunctname; $i++; }; } diff --git a/resources/views/search/index.blade.php b/resources/views/search/index.blade.php index 21a768f..ee5bf64 100644 --- a/resources/views/search/index.blade.php +++ b/resources/views/search/index.blade.php @@ -2,15 +2,14 @@ @csrf
- + - + - + - +
-