diff --git a/lib/WebGUI/Asset.pm b/lib/WebGUI/Asset.pm index 70f78ed6d..6c63bf6a7 100644 --- a/lib/WebGUI/Asset.pm +++ b/lib/WebGUI/Asset.pm @@ -1164,7 +1164,7 @@ sub getLineage { } # we need to include children if (isIn("children",@{$relatives})) { - push(@whereModifiers,"(parentId=".quote($self->getId).")"); + push(@whereModifiers,"(asset.parentId=".quote($self->getId).")"); } # now lets add in all of the siblings in every level between ourself and the asset we wish to pedigree if (isIn("pedigree",@{$relatives}) && exists $rules->{assetToPedigree}) {