Browse Source

Attempt to fix news listing without newsletters.

svn path=/trunk/; revision=6170
tags/stw2018
Reinhard Müller 13 years ago
parent
commit
0e52f1c538
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      news/news.xsl

+ 1
- 1
news/news.xsl 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 -->

Loading…
Cancel
Save