[PR #19293] [MERGED] Fixes: #19228 - Fix ordered_scripts to only return ordered list of script objects #15596

Closed
opened 2025-12-30 00:22:55 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19293
Author: @DanSheps
Created: 4/23/2025
Status: Merged
Merged: 4/24/2025
Merged by: @arthanson

Base: mainHead: 19228-fix-script-list-error


📝 Commits (1)

  • e0a8515 Fixes: #19228 - Fix ordered_scripts to only return ordered list of script objects

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 netbox/extras/models/scripts.py (+1 -1)

📄 Description

Fixes: #19228 - Fix ordered_scripts to only return ordered list of script objects

  • Modify ordered_scripts to only return Script objects and not a list of Script objects and tuples of Script names and Script objects

🔄 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/19293 **Author:** [@DanSheps](https://github.com/DanSheps) **Created:** 4/23/2025 **Status:** ✅ Merged **Merged:** 4/24/2025 **Merged by:** [@arthanson](https://github.com/arthanson) **Base:** `main` ← **Head:** `19228-fix-script-list-error` --- ### 📝 Commits (1) - [`e0a8515`](https://github.com/netbox-community/netbox/commit/e0a85159a68e697e1dad46bc4841296e1e154dc6) Fixes: #19228 - Fix ordered_scripts to only return ordered list of script objects ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/models/scripts.py` (+1 -1) </details> ### 📄 Description ### Fixes: #19228 - Fix ordered_scripts to only return ordered list of script objects * Modify ordered_scripts to only return `Script` objects and not a list of `Script` objects and tuples of `Script` names and `Script` objects --- <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-30 00:22:55 +01:00
adam closed this issue 2025-12-30 00:22:55 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15596