From 30adf26157874bb5d6e755cac44aa65a39bf3d16 Mon Sep 17 00:00:00 2001 From: jk Date: Thu, 24 Jun 2021 15:24:21 +0100 Subject: [PATCH] first iteration of search functionality - likely to fail hard --- resources/views/search/results.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/search/results.blade.php b/resources/views/search/results.blade.php index 17cbfb5..962220d 100644 --- a/resources/views/search/results.blade.php +++ b/resources/views/search/results.blade.php @@ -88,7 +88,7 @@ @foreach ($results as $result) {{$result->name}} - @foreach($result->grains as $grains) {{print_r($grains)}} @foreach($grains as $grain) {{print_r($grain)}} @endforeach @endforeach + @foreach($result->grains as $grains) {{$grains->id}} @endforeach Hops Yeasts Asjuncts