fix associated server display; closes #43
This commit is contained in:
parent
2d1452d72a
commit
4d99d57820
|
@ -65,6 +65,7 @@ class AccountsController extends Controller
|
|||
'servers' => Server::select('servers.*', 'nodes.name as nodeName', 'locations.long as location')
|
||||
->join('nodes', 'servers.node', '=', 'nodes.id')
|
||||
->join('locations', 'nodes.location', '=', 'locations.id')
|
||||
->where('owner', $id)
|
||||
->where('active', 1)
|
||||
->get(),
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue