View | Details | Raw Unified | Return to bug 6729 | Differences between
and this patch

Collapse All | Expand All

(-)ojs-2.3.5/plugins/generic/webFeed/templates/atom.tpl (-2 / +2 lines)
 Lines 18-25    Link Here 
18
	{assign var=latestDate value=$issue->getDatePublished()}
18
	{assign var=latestDate value=$issue->getDatePublished()}
19
	{foreach name=sections from=$publishedArticles item=section}
19
	{foreach name=sections from=$publishedArticles item=section}
20
		{foreach from=$section.articles item=article}
20
		{foreach from=$section.articles item=article}
21
			{if $article->getDateModified() > $latestDate}
21
			{if $article->getDatePublished() > $latestDate}
22
				{assign var=latestDate value=$article->getDateModified()}
22
				{assign var=latestDate value=$article->getDatePublished()}
23
			{/if}
23
			{/if}
24
		{/foreach}
24
		{/foreach}
25
	{/foreach}
25
	{/foreach}

Return to bug 6729