@ -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);