Browse Source

first iteration of search functionality - likely to fail hard

master
jk 3 years ago
parent
commit
d7bf0dfc1e
  1. 1
      app/Http/Controllers/SearchController.php
  2. 1
      resources/views/beers/index.blade.php
  3. 1
      resources/views/search/results.blade.php

1
app/Http/Controllers/SearchController.php

@ -14,7 +14,6 @@ use App\Models\Fermentation;
use App\Models\Yeast; use App\Models\Yeast;
use App\Models\Adjunctaddition; use App\Models\Adjunctaddition;
use App\Models\Adjunct; use App\Models\Adjunct;
use Kyslik\ColumnSortable\Sortable;
class SearchController extends Controller class SearchController extends Controller
{ {

1
resources/views/beers/index.blade.php

@ -6,7 +6,6 @@
<div class="col-md-12"> <div class="col-md-12">
<div class="card"> <div class="card">
@include('inc.navbar') @include('inc.navbar')
@include('search.index')
<div class="card-header"><a href="/home">Home</a> -> {{ __('Beer List') }}<span class="backlink"><a href="{{url()->previous()}}">Go Back</a></span></div> <div class="card-header"><a href="/home">Home</a> -> {{ __('Beer List') }}<span class="backlink"><a href="{{url()->previous()}}">Go Back</a></span></div>
<div class="card-body"> <div class="card-body">

1
resources/views/search/results.blade.php

@ -6,7 +6,6 @@
<div class="col-md-12"> <div class="col-md-12">
<div class="card"> <div class="card">
@include('inc.navbar') @include('inc.navbar')
@include('search.index')
<div class="card-header"><a href="/home">Home</a> -> {{ __('Search Results') }}<span class="backlink"><a href="{{url()->previous()}}">Go Back</a></span></div> <div class="card-header"><a href="/home">Home</a> -> {{ __('Search Results') }}<span class="backlink"><a href="{{url()->previous()}}">Go Back</a></span></div>
<div class="card-body"> <div class="card-body">

Loading…
Cancel
Save