Browse Source

first iteration of search functionality - likely to fail hard

master
jk 3 years ago
parent
commit
21d432efec
  1. 2
      app/Http/Controllers/SearchController.php

2
app/Http/Controllers/SearchController.php

@ -101,7 +101,7 @@ class SearchController extends Controller
}; };
$result['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();
$result['hopadditions'] = $hoppadditions;
$result['hopadditions'] = $hopadditions;
} }
break; break;
case('brewerie'): case('brewerie'):

Loading…
Cancel
Save