Skip to content

Commit

Permalink
fix(HasManyThrough): Swap final compare constraints in nested query
Browse files Browse the repository at this point in the history
  • Loading branch information
elpete committed Jul 21, 2020
1 parent 6881634 commit 22d1728
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/Relationships/BelongsToThrough.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ component extends="quick.models.Relationships.BaseRelationship" {
],
function( localKey, foreignKey ) {
q2.whereColumn(
variables.parent.qualifyColumn( localKey ),
variables.closestToParent.qualifyColumn( foreignKey )
variables.closestToParent.qualifyColumn( localKey ),
variables.parent.qualifyColumn( foreignKey )
);
}
);
Expand Down

0 comments on commit 22d1728

Please sign in to comment.