Browse Source

first iteration of search functionality - likely to fail hard

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

2
app/Http/Controllers/SearchController.php

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