Alef-Burzmali / netbox-data-flows

NetBox plugin to document data flows between systems and applications.
https://pypi.org/project/netbox-data-flows/
Apache License 2.0
37 stars 7 forks source link

Child Group Flow Count incorrect #18

Closed zeddD1abl0 closed 1 year ago

zeddD1abl0 commented 1 year ago

Hi,

I love the concept of this plugin. Really useful.

I notice that, after adding a sub-group to a group, the number of flows on the child group is incorrect when you are looking from the parent:

image

Everything shows up perfectly, but there should be a Count of 2 in the "Data Flows" column under the "Child Groups" heading.

zeddD1abl0 commented 1 year ago

Just as an extra thing, it's probably redundant to have "Direct Members" and "Direct and Recursive Members" at the bottom. That might be better split into "Direct Members" and "Recursive Members"

Alef-Burzmali commented 1 year ago

Thanks for your feedback! The bug has been fixed (along with a few other counters that were incorrect in other tables) and I have removed the "direct members" from the second tables.