Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL query string in filter is incorrect #65

Open
Azmodeszer opened this issue Aug 28, 2024 · 0 comments
Open

URL query string in filter is incorrect #65

Azmodeszer opened this issue Aug 28, 2024 · 0 comments

Comments

@Azmodeszer
Copy link

Azmodeszer commented Aug 28, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant