scope filter on nested relationships #563
Unanswered
Hungnguyen720
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
scope filter on nested polymorphic many-to-many relationships works if there is only one relationship
Here is my code:
The filtering works when there is only one relationship, but if a Post model has a Health Category And another category, the filter will return the Post despite it having a Health Category. Any help is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions