netbox icon indicating copy to clipboard operation
netbox copied to clipboard

Devices count on site page does not include unracked devices

Open mjclancyau opened this issue 9 years ago • 1 comments

Issue type: Bug Report

Python version: Python 2.7.10 NetBox version: 1.9.0-r1

It appears that the devices count on site page does not include unracked devices, the following screencap lists 0 devices: image

But then clicking on the devices count lists the unracked devices, as follows:

image

Seems to an issue with the way stats.device_count is calculated?

Thanks for any help you can provide.

Kind regards, Matt

mjclancyau avatar Mar 06 '17 01:03 mjclancyau

Looks like I missed some ORM references while implementing #198. Easy fix.

jeremystretch avatar Mar 06 '17 15:03 jeremystretch