*** empty log message ***
This commit is contained in:
parent
e976bfae67
commit
b8fc95d5bd
1 changed files with 2 additions and 2 deletions
|
|
@ -317,12 +317,12 @@ sub view {
|
||||||
} elsif ($self->get("startType") eq "relativeToCurrentUrl") {
|
} elsif ($self->get("startType") eq "relativeToCurrentUrl") {
|
||||||
if ($self->get("startPoint") < 0) {
|
if ($self->get("startPoint") < 0) {
|
||||||
$start = WebGUI::Asset->newByLineage(substr($current->get("lineage"),0,
|
$start = WebGUI::Asset->newByLineage(substr($current->get("lineage"),0,
|
||||||
($current->getLineageLength - $self->get("startPoint") + 1) * 6
|
($current->getLineageLength + $self->get("startPoint") + 1) * 6
|
||||||
));
|
));
|
||||||
} elsif ($self->get("startPoint") > 0) {
|
} elsif ($self->get("startPoint") > 0) {
|
||||||
my $lineage = $current->get("lineage");
|
my $lineage = $current->get("lineage");
|
||||||
for (1..$self->get("startPoint")) {
|
for (1..$self->get("startPoint")) {
|
||||||
$lineage .= $self->formatRank(1);
|
$lineage .= $self->formatRank($_);
|
||||||
}
|
}
|
||||||
$start = WebGUI::Asset->newByLineage($lineage);
|
$start = WebGUI::Asset->newByLineage($lineage);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue