cphalcon icon indicating copy to clipboard operation
cphalcon copied to clipboard

Include the reference model name in the build query when getting rela…

Open alrieckert opened this issue 1 year ago • 2 comments

…ted records

When we overload the getRelated function and join more tables, it can happen that the referencedField/s can't be mapped back correctly to the referenceModel it not specified

Hello!

  • Type: bug fix | new feature | code quality | documentation
  • Link to issue:

In raising this pull request, I confirm the following:

  • [x] I have read and understood the Contributing Guidelines
  • [x] I have checked that another pull request for this purpose does not exist
  • [ ] I wrote some tests for this PR
  • [x] I have updated the relevant CHANGELOG
  • [ ] I have created a PR for the documentation about this change

Small description of change:

Thanks

alrieckert avatar Oct 01 '24 07:10 alrieckert