You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When filtering content items in GraphQL by indexed content fields, the field name and part are not considered. This issue arises when multiple fields of the same type are added to a content type, leading to incorrect items being returned. Specifically, querying one field may inadvertently include values from another field of the same type.
Orchard Core version
2.x and newer
To Reproduce
Enable indexing for content fields.
Create a content type with two fields of the same kind (e.g., two numeric fields).
Create content items with different values in each field.
Perform a GraphQL query for one of the fields.
Observe that the query results incorrectly include values from the other field.
Expected Behavior
The GraphQL query should only return items that match the specified field and part, without including values from other fields of the same type.
Logs and screenshots
The text was updated successfully, but these errors were encountered:
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues).
This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here.
Describe the bug
When filtering content items in GraphQL by indexed content fields, the field name and part are not considered. This issue arises when multiple fields of the same type are added to a content type, leading to incorrect items being returned. Specifically, querying one field may inadvertently include values from another field of the same type.
Orchard Core version
2.x and newer
To Reproduce
Expected Behavior
The GraphQL query should only return items that match the specified field and part, without including values from other fields of the same type.
Logs and screenshots
The text was updated successfully, but these errors were encountered: