fix: Navigation with pedigree on site with multiple roots
This commit is contained in:
parent
92fb660f50
commit
6beff86e65
2 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
7.4.10
|
7.4.10
|
||||||
- fix: Graphs aren't sized properly using GraphicsMagick
|
- fix: Graphs aren't sized properly using GraphicsMagick
|
||||||
|
- fix: Navigation with pedigree on site with multiple roots (Yung Han Khoe, United Knowledge)
|
||||||
|
|
||||||
7.4.9
|
7.4.9
|
||||||
- fix: Bug that did not allow Calendar Update Feeds workflow activity to
|
- fix: Bug that did not allow Calendar Update Feeds workflow activity to
|
||||||
|
|
|
||||||
|
|
@ -362,7 +362,7 @@ sub getLineage {
|
||||||
push(@whereModifiers,"(asset.parentId=".$self->session->db->quote($self->getId).")");
|
push(@whereModifiers,"(asset.parentId=".$self->session->db->quote($self->getId).")");
|
||||||
}
|
}
|
||||||
# now lets add in all of the siblings in every level between ourself and the asset we wish to pedigree
|
# 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}) {
|
if (isIn("pedigree",@{$relatives}) && exists $rules->{assetToPedigree} && substr($rules->{assetToPedigree}->get("lineage"),0,length($lineage)) eq $lineage) {
|
||||||
my @mods;
|
my @mods;
|
||||||
my $lineage = $rules->{assetToPedigree}->get("lineage");
|
my $lineage = $rules->{assetToPedigree}->get("lineage");
|
||||||
my $length = $rules->{assetToPedigree}->getLineageLength;
|
my $length = $rules->{assetToPedigree}->getLineageLength;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue