[PR #19287] [MERGED] Fixes #19263: Render action buttons only if the record model matches the table model #15595

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19287
Author: @jeremystretch
Created: 4/23/2025
Status: Merged
Merged: 4/23/2025
Merged by: @jnovinger

Base: featureHead: 19263-fix-iprange-action-buttons


📝 Commits (1)

  • 7e374f0 Fixes #19263: Render action buttons only if the record model matches the table model

📊 Changes

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

View changed files

📝 netbox/netbox/tables/columns.py (+7 -3)

📄 Description

Fixes: #19263

Adjust the rendering logic for ActionsColumn to display buttons only for records representing a model which matches the table's assigned model.


🔄 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/19287 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 4/23/2025 **Status:** ✅ Merged **Merged:** 4/23/2025 **Merged by:** [@jnovinger](https://github.com/jnovinger) **Base:** `feature` ← **Head:** `19263-fix-iprange-action-buttons` --- ### 📝 Commits (1) - [`7e374f0`](https://github.com/netbox-community/netbox/commit/7e374f011190adfb1c8f87482b53bf9e7493dc99) Fixes #19263: Render action buttons only if the record model matches the table model ### 📊 Changes **1 file changed** (+7 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/tables/columns.py` (+7 -3) </details> ### 📄 Description ### Fixes: #19263 Adjust the rendering logic for ActionsColumn to display buttons only for records representing a model which matches the table's assigned model. --- <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:54 +01:00
adam closed this issue 2025-12-30 00:22:54 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15595