[PR #9695] [MERGED] Add Tenant Group column to tables #9686 #13502

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/9695
Author: @hagbarddenstore
Created: 7/10/2022
Status: Merged
Merged: 7/11/2022
Merged by: @jeremystretch

Base: developHead: issue_9686


📝 Commits (6)

  • 3c2a55a Add TenantGroupColumn to display Tenant Group on tables
  • bd60d46 Table mixin for Tenancy columns
  • e6bfde1 Replace TenantColumn with new TenancyColumnsMixin
  • 69a22ff Prefetch Tenant Group in global search
  • c7ece43 Remove Tenant Group from child tables
  • 1539769 Prefetch Tenant Group on user configurable tables

📊 Changes

15 files changed (+95 additions, -83 deletions)

View changed files

📝 netbox/circuits/tables/circuits.py (+3 -4)
📝 netbox/circuits/views.py (+3 -3)
📝 netbox/dcim/tables/cables.py (+3 -4)
📝 netbox/dcim/tables/devices.py (+5 -7)
📝 netbox/dcim/tables/racks.py (+5 -7)
📝 netbox/dcim/tables/sites.py (+5 -7)
📝 netbox/dcim/views.py (+1 -1)
📝 netbox/ipam/tables/ip.py (+11 -16)
📝 netbox/ipam/tables/vlans.py (+3 -4)
📝 netbox/ipam/tables/vrfs.py (+5 -7)
📝 netbox/ipam/views.py (+4 -4)
📝 netbox/netbox/constants.py (+10 -10)
📝 netbox/tenancy/tables/columns.py (+31 -0)
📝 netbox/virtualization/tables/clusters.py (+3 -5)
📝 netbox/virtualization/tables/virtualmachines.py (+3 -4)

📄 Description

Fixes: #9686

Add a column to display Tenant Group on tables which already displays the Tenant.


🔄 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/9695 **Author:** [@hagbarddenstore](https://github.com/hagbarddenstore) **Created:** 7/10/2022 **Status:** ✅ Merged **Merged:** 7/11/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `issue_9686` --- ### 📝 Commits (6) - [`3c2a55a`](https://github.com/netbox-community/netbox/commit/3c2a55a521b1a8c8a36340bf37f036f242a514a0) Add TenantGroupColumn to display Tenant Group on tables - [`bd60d46`](https://github.com/netbox-community/netbox/commit/bd60d46b8285e62b05e83a36989cf39a3aaa74b4) Table mixin for Tenancy columns - [`e6bfde1`](https://github.com/netbox-community/netbox/commit/e6bfde1397314950fd11dca01675abf490353cc0) Replace TenantColumn with new TenancyColumnsMixin - [`69a22ff`](https://github.com/netbox-community/netbox/commit/69a22ffe5e3aefafa540f13c40e88f9c5ca0b7ec) Prefetch Tenant Group in global search - [`c7ece43`](https://github.com/netbox-community/netbox/commit/c7ece43a1887bdc1bb3daf894c0929b9babd0505) Remove Tenant Group from child tables - [`1539769`](https://github.com/netbox-community/netbox/commit/1539769c08e200c8586de43700f8d152e7b3cc0d) Prefetch Tenant Group on user configurable tables ### 📊 Changes **15 files changed** (+95 additions, -83 deletions) <details> <summary>View changed files</summary> 📝 `netbox/circuits/tables/circuits.py` (+3 -4) 📝 `netbox/circuits/views.py` (+3 -3) 📝 `netbox/dcim/tables/cables.py` (+3 -4) 📝 `netbox/dcim/tables/devices.py` (+5 -7) 📝 `netbox/dcim/tables/racks.py` (+5 -7) 📝 `netbox/dcim/tables/sites.py` (+5 -7) 📝 `netbox/dcim/views.py` (+1 -1) 📝 `netbox/ipam/tables/ip.py` (+11 -16) 📝 `netbox/ipam/tables/vlans.py` (+3 -4) 📝 `netbox/ipam/tables/vrfs.py` (+5 -7) 📝 `netbox/ipam/views.py` (+4 -4) 📝 `netbox/netbox/constants.py` (+10 -10) 📝 `netbox/tenancy/tables/columns.py` (+31 -0) 📝 `netbox/virtualization/tables/clusters.py` (+3 -5) 📝 `netbox/virtualization/tables/virtualmachines.py` (+3 -4) </details> ### 📄 Description ### Fixes: #9686 Add a column to display Tenant Group on tables which already displays the Tenant. --- <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:19:15 +01:00
adam closed this issue 2025-12-29 23:19:15 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13502