File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
app/Http/Controllers/Admin Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
66## v0.7.2 (Derelict Dermodactylus)
77### Fixed
88* Fixes an exception thrown when trying to access the ` /nests/:id/eggs/:id ` API endpoint.
9+ * Fixes search on server listing page.
910
1011### Added
1112* Adds ability to include egg variables on an API request.
Original file line number Diff line number Diff line change @@ -201,12 +201,13 @@ public function __construct(
201201 /**
202202 * Display the index page with all servers currently on the system.
203203 *
204+ * @param \Illuminate\Http\Request $request
204205 * @return \Illuminate\View\View
205206 */
206- public function index ()
207+ public function index (Request $ request )
207208 {
208209 return view ('admin.servers.index ' , [
209- 'servers ' => $ this ->repository ->getAllServers (
210+ 'servers ' => $ this ->repository ->setSearchTerm ( $ request -> input ( ' query ' ))-> getAllServers (
210211 $ this ->config ->get ('pterodactyl.paginate.admin.servers ' )
211212 ),
212213 ]);
You can’t perform that action at this time.
0 commit comments