Fix description field of the Story RSS feed. Fixes bug #11112
This commit is contained in:
parent
35efdfd5c5
commit
08f6bd8b58
3 changed files with 4 additions and 2 deletions
|
|
@ -9,6 +9,7 @@
|
|||
- fixed #11080: Asset Manage Crumb Trail flyout menu
|
||||
- fixed #10874: EMS Schedule displaying incorrectly
|
||||
- fixed #10956: Account, Profile system bad rendering with lots of
|
||||
- fixed #11112: story archive RSS feed
|
||||
|
||||
7.8.1
|
||||
- mark $session->datetime->time as deprecated and remove its use from core code
|
||||
|
|
|
|||
|
|
@ -537,7 +537,7 @@ sub getRssData {
|
|||
my $self = shift;
|
||||
my $data = {
|
||||
title => $self->get('headline') || $self->getTitle,
|
||||
description => $self->get('subtitle'),
|
||||
description => $self->get('story'),
|
||||
'link' => $self->getUrl,
|
||||
author => $self->get('byline'),
|
||||
date => $self->get('lastModified'),
|
||||
|
|
|
|||
|
|
@ -122,6 +122,7 @@ $story = $archive->addChild({
|
|||
title => 'Story 1',
|
||||
subtitle => 'The story of a CMS',
|
||||
byline => 'JT Smith',
|
||||
story => 'WebGUI was originally called Web Done Right.',
|
||||
});
|
||||
|
||||
isa_ok($story, 'WebGUI::Asset::Story', 'Created a Story asset');
|
||||
|
|
@ -276,7 +277,7 @@ cmp_deeply(
|
|||
$story->getRssData,
|
||||
{
|
||||
title => 'Story 1',
|
||||
description => 'The story of a CMS',
|
||||
description => 'WebGUI was originally called Web Done Right.',
|
||||
'link' => re('story-1$'),
|
||||
author => 'JT Smith',
|
||||
date => $story->get('lastModified'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue