[PR #20960] [MERGED] Closes #20959: Add moduletype_count to ManufacturerSerializer #16102

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/20960
Author: @jeremystretch
Created: 12/10/2025
Status: Merged
Merged: 12/10/2025
Merged by: @arthanson

Base: featureHead: 20959-manufacturer-moduletype_count


📝 Commits (1)

  • 8b19004 Closes #20959: Add moduletype_count to ManufacturerSerializer

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 netbox/dcim/api/serializers_/manufacturers.py (+2 -1)

📄 Description

Closes: #20959

  • Expose moduletype_count as a RelatedObjectCountField on the REST API serializer for dcim.Manufacturer

🔄 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/20960 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 12/10/2025 **Status:** ✅ Merged **Merged:** 12/10/2025 **Merged by:** [@arthanson](https://github.com/arthanson) **Base:** `feature` ← **Head:** `20959-manufacturer-moduletype_count` --- ### 📝 Commits (1) - [`8b19004`](https://github.com/netbox-community/netbox/commit/8b19004169cb28054b697226fe542c9ab347d034) Closes #20959: Add moduletype_count to ManufacturerSerializer ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/api/serializers_/manufacturers.py` (+2 -1) </details> ### 📄 Description ### Closes: #20959 - Expose `moduletype_count` as a RelatedObjectCountField on the REST API serializer for dcim.Manufacturer --- <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:25:48 +01:00
adam closed this issue 2025-12-30 00:25:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#16102