-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
netboxseverity: mediumResults in substantial degraded or broken functionality for specfic workflowsResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtopic: GraphQLtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Milestone
Description
Deployment Type
Self-hosted
NetBox Version
v4.1.3
Python Version
3.10
Steps to Reproduce
Using a GraphQL filter with AND, OR, NOT for a field that has custom implementation in the filterset (or only appears in the filterset) for example asn_id on Site. Doesn't work
- Create 4 sites with ID's 1 to 4
- Create 4 ASNs and assign each to a single Site (1-4)
- Use the following GraphQL query
{
site_list(filters: {asn_id: "1", OR: {asn_id: "4"}}) {
name
asns {
id
}
}
}
Expected Behavior
Will get a list of 2 sites.
Observed Behavior
Get an empty list.
Metadata
Metadata
Assignees
Labels
netboxseverity: mediumResults in substantial degraded or broken functionality for specfic workflowsResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtopic: GraphQLtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application