[PR #18763] [MERGED] Fixes #18758: Enable sorting by Account count on prodiver list #15439

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/18763
Author: @jnovinger
Created: 2/27/2025
Status: Merged
Merged: 2/28/2025
Merged by: @arthanson

Base: mainHead: 18758-providers-sort-account-count-fails


📝 Commits (1)

  • d87bed7 Fixes #18758: Enable sorting by Account count on prodiver list

📊 Changes

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

View changed files

📝 netbox/circuits/tables/providers.py (+0 -1)
📝 netbox/circuits/views.py (+1 -0)

📄 Description

Fixes: #18758

  • sets ProviderAcount count annotation on ProviderListView
  • removes unneeded ProviderTable.account_count accessor kwarg

🔄 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/18763 **Author:** [@jnovinger](https://github.com/jnovinger) **Created:** 2/27/2025 **Status:** ✅ Merged **Merged:** 2/28/2025 **Merged by:** [@arthanson](https://github.com/arthanson) **Base:** `main` ← **Head:** `18758-providers-sort-account-count-fails` --- ### 📝 Commits (1) - [`d87bed7`](https://github.com/netbox-community/netbox/commit/d87bed7cc75460e57c6bbc95a0bcb994958e5071) Fixes #18758: Enable sorting by Account count on prodiver list ### 📊 Changes **2 files changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/circuits/tables/providers.py` (+0 -1) 📝 `netbox/circuits/views.py` (+1 -0) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #18758 - sets `ProviderAcount` count annotation on `ProviderListView` - removes unneeded `ProviderTable.account_count` accessor kwarg <!-- Please include a summary of the proposed changes below. --> --- <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:21:55 +01:00
adam closed this issue 2025-12-30 00:21:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15439