mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
show count of Ports in PortGroup display (#13164)
This commit is contained in:
@@ -17,7 +17,7 @@ class PortGroupController extends Controller
|
||||
public function index()
|
||||
{
|
||||
return view('port-group.index', [
|
||||
'port_groups' => PortGroup::orderBy('name')->get(),
|
||||
'port_groups' => PortGroup::orderBy('name')->withCount('ports')->get(),
|
||||
]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user