[PR #20288] [MERGED] Fixes #20253: GraphQL filter by contacts #15880

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/20288
Author: @llamafilm
Created: 9/6/2025
Status: Merged
Merged: 9/19/2025
Merged by: @jeremystretch

Base: mainHead: 20253-contacts


📝 Commits (5)

  • 06ee8ae filter models by contacts
  • c30a5fe Merge branch 'main' into 20253-contacts
  • 0b12f6f remove unsed import
  • e46e9e6 simpler solution
  • 12eb977 Merge branch 'main' into 20253-contacts

📊 Changes

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

View changed files

📝 netbox/tenancy/graphql/filter_mixins.py (+2 -2)

📄 Description

Fixes: #20253

Define a custom filter method for contacts using the @strawberry_django.filter_field decorator.


🔄 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/20288 **Author:** [@llamafilm](https://github.com/llamafilm) **Created:** 9/6/2025 **Status:** ✅ Merged **Merged:** 9/19/2025 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `main` ← **Head:** `20253-contacts` --- ### 📝 Commits (5) - [`06ee8ae`](https://github.com/netbox-community/netbox/commit/06ee8ae8d77db758958347d6cdd71206c0d2313f) filter models by contacts - [`c30a5fe`](https://github.com/netbox-community/netbox/commit/c30a5fee20c74b1f884d84b7af6e8a23bb9c538e) Merge branch 'main' into 20253-contacts - [`0b12f6f`](https://github.com/netbox-community/netbox/commit/0b12f6f82c3fcabbd3e7bfa84514fe55af55ca9d) remove unsed import - [`e46e9e6`](https://github.com/netbox-community/netbox/commit/e46e9e6a06adce93426e567b1dc02762b2085b43) simpler solution - [`12eb977`](https://github.com/netbox-community/netbox/commit/12eb97769fe81b9cec23012bd9cee2f72ef7a9fd) Merge branch 'main' into 20253-contacts ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/tenancy/graphql/filter_mixins.py` (+2 -2) </details> ### 📄 Description ### Fixes: #20253 Define a custom filter method for `contacts` using the `@strawberry_django.filter_field` decorator. --- <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:24:34 +01:00
adam closed this issue 2025-12-30 00:24:34 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15880