|
@ -99,9 +99,9 @@ class SearchController extends Controller |
|
|
}; |
|
|
}; |
|
|
$i++; |
|
|
$i++; |
|
|
}; |
|
|
}; |
|
|
$results['mashes']=$masharr; |
|
|
|
|
|
|
|
|
$result['mashes']=$masharr; |
|
|
$hopadditions = Hopaddition::where('beer_id', $result->beer_id)->distinct('timing')->get(); |
|
|
$hopadditions = Hopaddition::where('beer_id', $result->beer_id)->distinct('timing')->get(); |
|
|
$results['hopadditions'] = $hoppaditions; |
|
|
|
|
|
|
|
|
$result['hopadditions'] = $hoppadditions; |
|
|
} |
|
|
} |
|
|
break; |
|
|
break; |
|
|
case('brewerie'): |
|
|
case('brewerie'): |
|
|