[PR #7400] [MERGED] Fixes #7387 : possibility to order scripts #13237

Closed
opened 2025-12-29 22:26:10 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/7400
Author: @maximumG
Created: 9/30/2021
Status: Merged
Merged: 10/1/2021
Merged by: @jeremystretch

Base: developHead: 7387-order-scripts


📝 Commits (2)

  • 0fdd081 feat: scripts within a module can now be ordered
  • 7337630 chore: introduce the script_order notion in the documentation

📊 Changes

2 files changed (+20 additions, -4 deletions)

View changed files

📝 docs/customization/custom-scripts.md (+14 -0)
📝 netbox/extras/scripts.py (+6 -4)

📄 Description

Fixes: #7387

  • Netbox script within a module can now be ordered thanks to the script_order tuple within each script module
  • Updated Netbox-script documentation to mention this ordering feature

🔄 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/7400 **Author:** [@maximumG](https://github.com/maximumG) **Created:** 9/30/2021 **Status:** ✅ Merged **Merged:** 10/1/2021 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `7387-order-scripts` --- ### 📝 Commits (2) - [`0fdd081`](https://github.com/netbox-community/netbox/commit/0fdd0818695e2673c1c81a0cd5911956b68f244a) feat: scripts within a module can now be ordered - [`7337630`](https://github.com/netbox-community/netbox/commit/7337630704b195ac3771ebee1280d67061323c70) chore: introduce the script_order notion in the documentation ### 📊 Changes **2 files changed** (+20 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `docs/customization/custom-scripts.md` (+14 -0) 📝 `netbox/extras/scripts.py` (+6 -4) </details> ### 📄 Description ### Fixes: #7387 * Netbox script within a module can now be ordered thanks to the `script_order` tuple within each script module * Updated Netbox-script documentation to mention this ordering feature --- <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 22:26:10 +01:00
adam closed this issue 2025-12-29 22:26:10 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13237