[PR #15907] [MERGED] Fixes #15891: Ensure deterministic ordering for scripts & reports #14716

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15907
Author: @jeremystretch
Created: 5/1/2024
Status: Merged
Merged: 5/1/2024
Merged by: @jeremystretch

Base: developHead: 15891-fix-script-ordering


📝 Commits (1)

  • b01da95 Fixes #15891: Ensure deterministic ordering for scripts & reports

📊 Changes

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

View changed files

📝 netbox/extras/migrations/0091_create_managedfiles.py (+2 -0)
📝 netbox/extras/models/reports.py (+1 -0)
📝 netbox/extras/models/scripts.py (+1 -0)
📝 netbox/extras/views.py (+2 -2)

📄 Description

Fixes: #15891

  • Set ordering on ReportModule & ScriptModule
  • Prefetch related objects under the view

🔄 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/15907 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 5/1/2024 **Status:** ✅ Merged **Merged:** 5/1/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `15891-fix-script-ordering` --- ### 📝 Commits (1) - [`b01da95`](https://github.com/netbox-community/netbox/commit/b01da9571a5b1ffddd342817e8e4a1cb57143a29) Fixes #15891: Ensure deterministic ordering for scripts & reports ### 📊 Changes **4 files changed** (+6 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/migrations/0091_create_managedfiles.py` (+2 -0) 📝 `netbox/extras/models/reports.py` (+1 -0) 📝 `netbox/extras/models/scripts.py` (+1 -0) 📝 `netbox/extras/views.py` (+2 -2) </details> ### 📄 Description ### Fixes: #15891 - Set `ordering` on ReportModule & ScriptModule - Prefetch related objects under the view --- <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:26:15 +01:00
adam closed this issue 2025-12-29 23:26:16 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14716