initialize keyword field in GalleryFile.pm because get fills it in now due to a recent code change
This commit is contained in:
parent
99d6796675
commit
621a0cf71b
2 changed files with 2 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
7.6.11
|
7.6.11
|
||||||
|
- fixed #9579: initialize keyword field because get fills it in now due to a recent code change
|
||||||
- fixed #9596: caching now takes into account the correct parameter for pagination
|
- fixed #9596: caching now takes into account the correct parameter for pagination
|
||||||
- fixed #9596: Articles now use a semi-unique pagination variable based on asset id
|
- fixed #9596: Articles now use a semi-unique pagination variable based on asset id
|
||||||
- fixed: Syndicated Content asset doesn't work with feeds that specify their encodings via HTTP headers
|
- fixed: Syndicated Content asset doesn't work with feeds that specify their encodings via HTTP headers
|
||||||
|
|
|
||||||
|
|
@ -777,6 +777,7 @@ sub view {
|
||||||
# Keywords
|
# Keywords
|
||||||
my $k = WebGUI::Keyword->new( $session );
|
my $k = WebGUI::Keyword->new( $session );
|
||||||
my $keywords = $k->getKeywordsForAsset( { asArrayRef => 1, asset => $self } );
|
my $keywords = $k->getKeywordsForAsset( { asArrayRef => 1, asset => $self } );
|
||||||
|
$var->{keywords} = [ ];
|
||||||
for my $keyword ( @{ $keywords } ) {
|
for my $keyword ( @{ $keywords } ) {
|
||||||
push @{ $var->{keywords} }, {
|
push @{ $var->{keywords} }, {
|
||||||
keyword => $keyword,
|
keyword => $keyword,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue