[PR #13491] [MERGED] Fixes #13477 - Correct filter name in redirect after bulk edit #14195

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13491
Author: @kkthxbye-code
Created: 8/17/2023
Status: Merged
Merged: 8/21/2023
Merged by: @jeremystretch

Base: developHead: 13477-fix-bulk-update-redir-link


📝 Commits (1)

  • 7fccd53 Correct filter name in redirect after bulk edit

📊 Changes

3 files changed (+40 additions, -11 deletions)

View changed files

📝 netbox/extras/tests/test_filtersets.py (+31 -6)
📝 netbox/netbox/filtersets.py (+8 -4)
📝 netbox/netbox/views/generic/bulk_views.py (+1 -1)

📄 Description

Fixes: #13477

Makes create_and_update_objects return an extra bool indicating if the operation was creation or updating. Uses this bool to choose the correct filter.


🔄 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/13491 **Author:** [@kkthxbye-code](https://github.com/kkthxbye-code) **Created:** 8/17/2023 **Status:** ✅ Merged **Merged:** 8/21/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `13477-fix-bulk-update-redir-link` --- ### 📝 Commits (1) - [`7fccd53`](https://github.com/netbox-community/netbox/commit/7fccd53704d18ffd4df2adf30bb1af09268c4d4b) Correct filter name in redirect after bulk edit ### 📊 Changes **3 files changed** (+40 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/tests/test_filtersets.py` (+31 -6) 📝 `netbox/netbox/filtersets.py` (+8 -4) 📝 `netbox/netbox/views/generic/bulk_views.py` (+1 -1) </details> ### 📄 Description ### Fixes: #13477 Makes create_and_update_objects return an extra bool indicating if the operation was creation or updating. Uses this bool to choose the correct filter. --- <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:23:06 +01:00
adam closed this issue 2025-12-29 23:23:06 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14195