Fix a bug with Shelf template variables. Fixes bug #11603.
This commit is contained in:
parent
dc14b06280
commit
5a4bded0d6
2 changed files with 4 additions and 3 deletions
|
|
@ -291,9 +291,9 @@ sub view {
|
|||
SHELF: foreach my $child (@{$self->getLineage(['children'],{returnObjects=>1,includeOnlyClasses=>['WebGUI::Asset::Wobject::Shelf']})}) {
|
||||
next SHELF unless $child->canView;
|
||||
my $properties = $child->get;
|
||||
$child->{url} = $child->getUrl;
|
||||
$child->{title} = $child->getTitle;
|
||||
push @childShelves, $child;
|
||||
$properties->{url} = $child->getUrl;
|
||||
$properties->{title} = $child->getTitle;
|
||||
push @childShelves, $properties;
|
||||
}
|
||||
|
||||
# get other child skus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue