l5-repository
l5-repository copied to clipboard
Pluck issue in loops
We found out that there is an issue with pluck method when used in loops: after pluck result is returned, I think you should resetModel and resetScope as you already did with get().
If you don't resetModel and resetScope, in a loop that use the same repository multiple times, you will have also previous applied criterias which are not resetted using resetCriteria.