From 21d432efec9ea15619eafd36b06cf922cb985795 Mon Sep 17 00:00:00 2001 From: jk Date: Thu, 24 Jun 2021 16:31:17 +0100 Subject: [PATCH] first iteration of search functionality - likely to fail hard --- app/Http/Controllers/SearchController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php index a9e147e..fe5f569 100644 --- a/app/Http/Controllers/SearchController.php +++ b/app/Http/Controllers/SearchController.php @@ -101,7 +101,7 @@ class SearchController extends Controller }; $result['mashes']=$masharr; $hopadditions = Hopaddition::where('beer_id', $result->beer_id)->distinct('timing')->get(); - $result['hopadditions'] = $hoppadditions; + $result['hopadditions'] = $hopadditions; } break; case('brewerie'):