[PR #19156] [MERGED] 17170 ContactGroup Serializer nested and fix related objects #15544

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19156
Author: @arthanson
Created: 4/11/2025
Status: Merged
Merged: 4/11/2025
Merged by: @jeremystretch

Base: featureHead: 17170-contact-groups-serializer


📝 Commits (1)

  • cb1d1ba 17170 ContactGroup Serializer nested and fix related objects

📊 Changes

2 files changed (+9 additions, -2 deletions)

View changed files

📝 netbox/tenancy/api/serializers_/contacts.py (+2 -1)
📝 netbox/tenancy/views.py (+7 -1)

📄 Description

Fixes: #17170

From review of NetBox v4.3 -

  • ContactSerializer group field should pass nested=True
  • Group should show number of assigned contacts under related objects

Monosnap newcgroup | NetBox 2025-04-11 10-25-49


🔄 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/19156 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 4/11/2025 **Status:** ✅ Merged **Merged:** 4/11/2025 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `17170-contact-groups-serializer` --- ### 📝 Commits (1) - [`cb1d1ba`](https://github.com/netbox-community/netbox/commit/cb1d1ba0bf7075215f7870249d16f9e695b02af3) 17170 ContactGroup Serializer nested and fix related objects ### 📊 Changes **2 files changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/tenancy/api/serializers_/contacts.py` (+2 -1) 📝 `netbox/tenancy/views.py` (+7 -1) </details> ### 📄 Description ### Fixes: #17170 From review of NetBox v4.3 - * ContactSerializer group field should pass nested=True * Group should show number of assigned contacts under related objects ![Monosnap newcgroup | NetBox 2025-04-11 10-25-49](https://github.com/user-attachments/assets/88450c8b-be38-4ade-ab52-7837a7010635) --- <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:35 +01:00
adam closed this issue 2025-12-30 00:22:35 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15544