[PR #19907] [MERGED] Closes #18990: Add description field to ImageAttachment model #15752

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19907
Author: @jeremystretch
Created: 7/17/2025
Status: Merged
Merged: 7/18/2025
Merged by: @arthanson

Base: featureHead: 18990-imageattachment-description


📝 Commits (3)

📊 Changes

10 files changed (+125 additions, -21 deletions)

View changed files

📝 netbox/extras/api/serializers_/attachments.py (+2 -2)
📝 netbox/extras/filtersets.py (+5 -2)
📝 netbox/extras/forms/model_forms.py (+5 -2)
netbox/extras/migrations/0130_imageattachment_description.py (+16 -0)
📝 netbox/extras/models/models.py (+14 -4)
📝 netbox/extras/search.py (+10 -0)
📝 netbox/extras/tables/tables.py (+3 -3)
📝 netbox/extras/tests/test_api.py (+1 -1)
📝 netbox/extras/views.py (+5 -6)
📝 netbox/templates/extras/imageattachment.html (+64 -1)

📄 Description

Closes: #18990

  • Add an optional description field to the ImageAttachment model
  • Enable global search for image attachments by name & description
  • Establish a dedicated UI view for an image attachment to display all attributes

🔄 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/19907 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 7/17/2025 **Status:** ✅ Merged **Merged:** 7/18/2025 **Merged by:** [@arthanson](https://github.com/arthanson) **Base:** `feature` ← **Head:** `18990-imageattachment-description` --- ### 📝 Commits (3) - [`60f0aea`](https://github.com/netbox-community/netbox/commit/60f0aea29487c7870e796d009218a054c08a34ce) Closes #18990: Add description field to ImageAttachment model - [`85cef99`](https://github.com/netbox-community/netbox/commit/85cef9931f52bd2969282a41bba4ba2a1b732433) Remove comment from migration - [`539b42b`](https://github.com/netbox-community/netbox/commit/539b42bb2b2d1dc2b7dfa247d20d00fba3953761) Fix tests ### 📊 Changes **10 files changed** (+125 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/api/serializers_/attachments.py` (+2 -2) 📝 `netbox/extras/filtersets.py` (+5 -2) 📝 `netbox/extras/forms/model_forms.py` (+5 -2) ➕ `netbox/extras/migrations/0130_imageattachment_description.py` (+16 -0) 📝 `netbox/extras/models/models.py` (+14 -4) 📝 `netbox/extras/search.py` (+10 -0) 📝 `netbox/extras/tables/tables.py` (+3 -3) 📝 `netbox/extras/tests/test_api.py` (+1 -1) 📝 `netbox/extras/views.py` (+5 -6) 📝 `netbox/templates/extras/imageattachment.html` (+64 -1) </details> ### 📄 Description ### Closes: #18990 - Add an optional `description` field to the ImageAttachment model - Enable global search for image attachments by name & description - Establish a dedicated UI view for an image attachment to display all attributes --- <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:23:50 +01:00
adam closed this issue 2025-12-30 00:23:51 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15752