-
Notifications
You must be signed in to change notification settings - Fork 642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.x]: graphql filtering on related category return unespected elements #14258
Comments
Hi, thanks for getting in touch! It sounds like a duplicate of: #12740 For now, you can get the results you’re after if you use
|
Hi @i-just , I tried also as you suggested me before to create this issue. |
Thanks for the info. I’m not able to reproduce this issue when using |
The initial issue (querying by related category in a multi-site setup) was fixed in @vettndr, if you’re still getting unexpected results when using |
Craft 4.8.0 was just released with a fix for this. Thanks for your help! |
What happened?
Description
I'm filtering records based on a category using graphql and I'm not able to understand why I'm receiving items that not match the id of that category.
Steps to reproduce
Expected behavior
I'm expecting to receive only records that have category with id: 20
Actual behavior
Other elements are retrieved.
Craft CMS version
4.7.1
PHP version
8.1.27
Operating system and version
No response
Database type and version
MariaDB 10.6.16
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: