-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fixes: #14567 - Export current view of IP Addresses #15659
Fixes: #14567 - Export current view of IP Addresses #15659
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Getting closer!
It was added clearLinkParams to clear button.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: Need to clear and update browser cache before trying, not sure why this is needed. |
I checked out to another branch and exported the current view. Then, I went back to the branch that fixed the export current view. Refreshing the page was necessary for it to work correctly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Julio-Oliveira-Encora!
Fixes: #14567
It added a script in "table_controls_htmx.html" to add the parameters to the URL (changing the htmx behavior).
Another script was created in "export.html" to append the parameters to the HREF to export the current view.
It was tested exporting devices, IP Address, and IP Range, with and without a quick search.