[PR #15659] [MERGED] Fixes: #14567 - Export current view of IP Addresses #14636

Closed
opened 2025-12-29 23:25:40 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15659
Author: @Julio-Oliveira-Encora
Created: 4/8/2024
Status: Merged
Merged: 6/6/2024
Merged by: @jeremystretch

Base: developHead: 14567-export_current_view_ip_addresses


📝 Commits (10+)

  • a02aadc Added javascript and htmx to change the url.
  • 1b932c7 Added javascript and htmx to change the url
  • 9b219e0 Addressed PR comments
  • f48cece Added Netbox.js and netbox.js.map
  • 5fa9cbc Addressed PR comments
  • 8364671 Merge branch 'develop' into 14567-export_current_view_ip_addresses
  • e6475e9 Merged develop into it
  • 72330b3 Merged develop into it
  • 74ec6ad Addressed PR comments
  • 1157a27 Addressed PR comments

📊 Changes

4 files changed (+63 additions, -27 deletions)

View changed files

📝 netbox/project-static/dist/netbox.js (+5 -5)
📝 netbox/project-static/dist/netbox.js.map (+1 -1)
📝 netbox/project-static/src/search.ts (+56 -20)
📝 netbox/utilities/templates/buttons/export.html (+1 -1)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/15659 **Author:** [@Julio-Oliveira-Encora](https://github.com/Julio-Oliveira-Encora) **Created:** 4/8/2024 **Status:** ✅ Merged **Merged:** 6/6/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `14567-export_current_view_ip_addresses` --- ### 📝 Commits (10+) - [`a02aadc`](https://github.com/netbox-community/netbox/commit/a02aadc3aa269d2812ee632ea92d7ca38b2fa45d) Added javascript and htmx to change the url. - [`1b932c7`](https://github.com/netbox-community/netbox/commit/1b932c7e92162ab28a4f60c274476da6cf06d359) Added javascript and htmx to change the url - [`9b219e0`](https://github.com/netbox-community/netbox/commit/9b219e0e4272b48b45c0f0520eb1d8824453cff5) Addressed PR comments - [`f48cece`](https://github.com/netbox-community/netbox/commit/f48cece10f9d0d157e76a4dd3ca18fa758fb3295) Added Netbox.js and netbox.js.map - [`5fa9cbc`](https://github.com/netbox-community/netbox/commit/5fa9cbc4a9bde5ef0380ea4af56e39e1e653e61c) Addressed PR comments - [`8364671`](https://github.com/netbox-community/netbox/commit/83646718fe4327955ed101c594c17de8fef5c822) Merge branch 'develop' into 14567-export_current_view_ip_addresses - [`e6475e9`](https://github.com/netbox-community/netbox/commit/e6475e9922643aa78f84603aea24e980f556a556) Merged develop into it - [`72330b3`](https://github.com/netbox-community/netbox/commit/72330b39fd38508fba541458c38616cbd8eadc6a) Merged develop into it - [`74ec6ad`](https://github.com/netbox-community/netbox/commit/74ec6ad91c6ff317aca61143618628a491de7609) Addressed PR comments - [`1157a27`](https://github.com/netbox-community/netbox/commit/1157a2746717cc14491a8874c9563367ec0934bc) Addressed PR comments ### 📊 Changes **4 files changed** (+63 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `netbox/project-static/dist/netbox.js` (+5 -5) 📝 `netbox/project-static/dist/netbox.js.map` (+1 -1) 📝 `netbox/project-static/src/search.ts` (+56 -20) 📝 `netbox/utilities/templates/buttons/export.html` (+1 -1) </details> ### 📄 Description ### 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:25:40 +01:00
adam closed this issue 2025-12-29 23:25:41 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14636