Attempt to fix news listing without newsletters.

svn path=/trunk/; revision=6170
This commit is contained in:
Reinhard Müller 2006-03-10 20:42:32 +00:00
rodzic 8950e02c73
commit 0e52f1c538
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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