Skip to content
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

M:M nested relation #134

Open
olaulau opened this issue Apr 26, 2024 · 0 comments
Open

M:M nested relation #134

olaulau opened this issue Apr 26, 2024 · 0 comments

Comments

@olaulau
Copy link

olaulau commented Apr 26, 2024

Hi ;
I come with a really annoying bug :
using has() function with nested relations, involving M:M relation, sometimes it does not fetch the expected data.

I build a very small project to show you the problem : https://github.com/olaulau/cortex_bug
The bug only happens when A.id = B.id .

BTW, I never achieved to rename M:M virtual fields : if they are not named as the FK in the pivot table, I can't make it work.
maybe you can show my on this little code !

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant