Respect pagination settings on frontend

closes #1335
This commit is contained in:
Dane Everitt 2018-11-10 12:38:35 -08:00
parent 8af50e1d1a
commit a9fa60a6fb
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
5 changed files with 8 additions and 7 deletions

View file

@ -103,10 +103,10 @@ interface ServerRepositoryInterface extends RepositoryInterface, SearchableInter
*
* @param \Pterodactyl\Models\User $user
* @param int $level
* @param bool $paginate
* @param bool|int $paginate
* @return \Illuminate\Pagination\LengthAwarePaginator|\Illuminate\Database\Eloquent\Collection
*/
public function filterUserAccessServers(User $user, int $level, bool $paginate = true);
public function filterUserAccessServers(User $user, int $level, $paginate = 25);
/**
* Return a server by UUID.