Fix a bug with Shelf template variables. Fixes bug #11603.

This commit is contained in:
Colin Kuskie 2010-05-31 10:16:38 -07:00
parent dc14b06280
commit 5a4bded0d6
2 changed files with 4 additions and 3 deletions

View file

@ -12,6 +12,7 @@
- fixed #11587: Thingy, no fields and undefined statement handles
- fixed #11589: Syndicated Content: Return raw text for sentence and word template variables
- fixed #11573: user has no way of knowing what they are currently using
- fixed #11603: Shelf, template variables for sub shelves
7.9.5
- Asset->www_copy now has a progress bar

View file

@ -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