Browse Source

first iteration of search functionality - likely to fail hard

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

4
app/Http/Controllers/SearchController.php

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

Loading…
Cancel
Save