Browse Source

first iteration of search functionality - likely to fail hard

master
jk 3 years ago
parent
commit
91f925b159
  1. 3
      app/Http/Controllers/SearchController.php

3
app/Http/Controllers/SearchController.php

@ -84,7 +84,8 @@ class SearchController extends Controller
default:
$msg = "You fucked up somehow!";
}
$results = $results->sortable('name')->paginate(10);
$result = $results[0];
$results = $result->sortable('name')->paginate(10);
return('search.results')->with($results);
}
}
Loading…
Cancel
Save