[PR #20855] [MERGED] Fixes 20822: add auto sync enabled property for configtemplates #16070

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/20855
Author: @ifoughal
Created: 11/21/2025
Status: Merged
Merged: 11/25/2025
Merged by: @bctiemann

Base: mainHead: 20822-add-auto_sync_enabled-property-for-configtemplates


📝 Commits (5)

  • 222b26e Feat: added auto_sync_enabled property to serializer of configTemplate
  • 6c373de Feat: added auto_sync_enabled property for ConfigTemplateBulkEdit class
  • 76fd638 Feat: added auto_sync_enabled property to ConfigTemplateFilter
  • ec7afcc Feat: added auto_sync_enabled property to ConfigTemplateTable class
  • 020eb64 Feat: added auto_sync_enabled property to configTemplate table

📊 Changes

5 files changed (+23 additions, -4 deletions)

View changed files

📝 netbox/extras/api/serializers_/configtemplates.py (+1 -1)
📝 netbox/extras/forms/bulk_edit.py (+6 -2)
📝 netbox/extras/forms/filtersets.py (+8 -1)
📝 netbox/extras/tables/tables.py (+4 -0)
📝 netbox/templates/extras/configtemplate.html (+4 -0)

📄 Description

Fixes: #20822

auto_sync_enabled property for configTemplates was ignored by API, bulk edit & view forms. Even though this attribute existed, it was only possible to view it through the edit form.

This FR fixes the issue by implementing the missing property on the related objects.


🔄 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/20855 **Author:** [@ifoughal](https://github.com/ifoughal) **Created:** 11/21/2025 **Status:** ✅ Merged **Merged:** 11/25/2025 **Merged by:** [@bctiemann](https://github.com/bctiemann) **Base:** `main` ← **Head:** `20822-add-auto_sync_enabled-property-for-configtemplates` --- ### 📝 Commits (5) - [`222b26e`](https://github.com/netbox-community/netbox/commit/222b26e0600c43348626a05a167b1d6aa244081f) Feat: added auto_sync_enabled property to serializer of configTemplate - [`6c373de`](https://github.com/netbox-community/netbox/commit/6c373decd63fba8b5a72c57196cb18f28757080d) Feat: added auto_sync_enabled property for ConfigTemplateBulkEdit class - [`76fd638`](https://github.com/netbox-community/netbox/commit/76fd63823c15cb4f539866ecf4e5e7078ce556cd) Feat: added auto_sync_enabled property to ConfigTemplateFilter - [`ec7afcc`](https://github.com/netbox-community/netbox/commit/ec7afccd5524d619b56aa43d07cd70bd04d9bf7b) Feat: added auto_sync_enabled property to ConfigTemplateTable class - [`020eb64`](https://github.com/netbox-community/netbox/commit/020eb64eab0121adf09a140ca34a04e30ae731eb) Feat: added auto_sync_enabled property to configTemplate table ### 📊 Changes **5 files changed** (+23 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/api/serializers_/configtemplates.py` (+1 -1) 📝 `netbox/extras/forms/bulk_edit.py` (+6 -2) 📝 `netbox/extras/forms/filtersets.py` (+8 -1) 📝 `netbox/extras/tables/tables.py` (+4 -0) 📝 `netbox/templates/extras/configtemplate.html` (+4 -0) </details> ### 📄 Description ### Fixes: #20822 ```auto_sync_enabled``` property for configTemplates was ignored by API, bulk edit & view forms. Even though this attribute existed, it was only possible to view it through the edit form. This FR fixes the issue by implementing the missing property on the related objects. --- <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:37 +01:00
adam closed this issue 2025-12-30 00:25:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#16070