netbox-metatype-importer icon indicating copy to clipboard operation
netbox-metatype-importer copied to clipboard

"Select all matching query" not working.

Open Nealtron opened this issue 1 year ago • 1 comments
trafficstars

NetBox Version

v3.7.6

NetBox Plugin Version

v0.3.2

Steps to Reproduce

Open the filter tab, enter a vendor name and hit search.

Check the "Select All" box, and then check the "Select all XXX meta types matching query" box and click "Delete Selected".

Expected Behavior

That it would perform whatever action you desired against only the objects that matched your query.

Observed Behavior

It attempts to do perform that action against all devices.

image

image

Nealtron avatar Apr 23 '24 19:04 Nealtron

It also seems to be bugged when you use the simple search box instead of the Filter tab.

image

image

Nealtron avatar Apr 23 '24 19:04 Nealtron

The issue with filtering without the filter tab in NetBox was resolved in version 4.0.11. I have implemented a fix for the filter tab issue in this PR. Now, when filtering through the filter tab, it will display the exact number of instances that match the filter criteria, rather than showing all instances.

mjoshionemind avatar Oct 15 '24 07:10 mjoshionemind