ikkez/f3-cortex

M:M nested relation

Opened this issue · 0 comments

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.