Sort node's AKAs, fix Host selection for new addresses
This commit is contained in:
@@ -66,7 +66,7 @@ class DomainController extends Controller
|
||||
{
|
||||
$oo = Address::where('role',self::NODE_NC)
|
||||
->where('zone_id',$o->id)
|
||||
->when($region,function($query,$region) { return $query->where('region_id',$region)->where('node_id','<>',0); })
|
||||
->when($region,function($query,$region) { return $query->where('region_id',$region)->where('node_id',0); })
|
||||
->when((! $region),function($query) use ($region) { return $query->where('region_id',0); })
|
||||
->where('point_id',0)
|
||||
->FTNorder()
|
||||
|
Reference in New Issue
Block a user