Attempt to fix news listing without newsletters.

svn path=/trunk/; revision=6170
This commit is contained in:
2006-03-10 20:42:32 +00:00
parent 8950e02c73
commit 0e52f1c538

View File

@@ -18,7 +18,7 @@
<!-- Show news except those in the future, but no newsletters -->
<xsl:for-each select="/html/set/news
[translate (@date, '-', '') &lt;= translate ($today, '-', '') and
@type != 'newsletter']">
not (@type = 'newsletter')]">
<xsl:sort select="@date" order="descending" />
<!-- This is a news entry -->