[PR #17581] [MERGED] 17501 fix showing last run of script execution in list view #15127

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/17581
Author: @arthanson
Created: 9/23/2024
Status: Merged
Merged: 9/24/2024
Merged by: @jeremystretch

Base: developHead: 17501-script-list


📝 Commits (2)

  • b305458 17501 fix showing last run of script job execution in list view
  • c6654d9 17501 fix showing last run of script job execution in list view

📊 Changes

2 files changed (+3 additions, -8 deletions)

View changed files

📝 netbox/netbox/models/features.py (+2 -7)
📝 netbox/templates/extras/script_list.html (+1 -1)

📄 Description

Fixes: #17501

Tested with single script and script with multiple methods. The template is the only place get_latest_jobs is used.

Scripts | NetBox 2024-09-23 13-06-11


🔄 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/17581 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 9/23/2024 **Status:** ✅ Merged **Merged:** 9/24/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `17501-script-list` --- ### 📝 Commits (2) - [`b305458`](https://github.com/netbox-community/netbox/commit/b305458b25e72061f5122da6722868eecd24b9e3) 17501 fix showing last run of script job execution in list view - [`c6654d9`](https://github.com/netbox-community/netbox/commit/c6654d96a24d4ff3112c7f83c28ab852161581c6) 17501 fix showing last run of script job execution in list view ### 📊 Changes **2 files changed** (+3 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/models/features.py` (+2 -7) 📝 `netbox/templates/extras/script_list.html` (+1 -1) </details> ### 📄 Description ### Fixes: #17501 Tested with single script and script with multiple methods. The template is the only place get_latest_jobs is used. ![Scripts | NetBox 2024-09-23 13-06-11](https://github.com/user-attachments/assets/ddf2065d-f894-44ad-8ff1-82fe97333629) --- <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:20:09 +01:00
adam closed this issue 2025-12-30 00:20:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15127