netbox-documents icon indicating copy to clipboard operation
netbox-documents copied to clipboard

URL query string in filter is incorrect

Open Azmodeszer opened this issue 1 year ago • 0 comments

For sites, locations, device types, etc., the documents link in Related Objects has the wrong syntax. For instance, for site ID 1 it's https://netbox.local/plugins/documents/site-document/?site_id=1, when it should be https://netbox.local/plugins/documents/site-document/?site=1

So the widget shows the correct count of objects, but when you actually click on it, it will list all documents for that model since the filtering won't apply.

Azmodeszer avatar Aug 28 '24 09:08 Azmodeszer