From 1740b8dfb597b48732720c62a5d65aa6e886dee2 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Fri, 10 Nov 2017 21:42:24 -0600 Subject: [PATCH] Revert change to node allocation selection query --- app/Repositories/Eloquent/NodeRepository.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Repositories/Eloquent/NodeRepository.php b/app/Repositories/Eloquent/NodeRepository.php index 2cd26c151..fbd361e91 100644 --- a/app/Repositories/Eloquent/NodeRepository.php +++ b/app/Repositories/Eloquent/NodeRepository.php @@ -104,8 +104,7 @@ class NodeRepository extends EloquentRepository implements NodeRepositoryInterfa $instance->setRelation( 'allocations', - $instance->allocations()->orderBy('ip', 'asc')->orderBy('port', 'asc') - ->with('server')->paginate(2) + $instance->allocations()->orderBy('ip', 'asc')->orderBy('port', 'asc')->with('server')->paginate(50) ); return $instance;