diff artifacts/doc/conf/meta-data.xml @ 8496:1314d876a7e5

Do not filter tables without end date in recommendations for historical discharge tables.
author Tom Gottfried <tom@intevation.de>
date Fri, 12 Dec 2014 11:11:26 +0100
parents 3e5d69e143e9
children 7f63ad20d4f0
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml	Thu Dec 04 18:15:05 2014 +0100
+++ b/artifacts/doc/conf/meta-data.xml	Fri Dec 12 11:11:26 2014 +0100
@@ -1046,7 +1046,9 @@
         <dc:filter expr="$kind = 1 and
                          number(dc:date-format('yyyyMMdd', $start_time))
                            &lt; $stop and
-                         number(dc:date-format('yyyyMMdd', $stop_time))
+                         number(dc:coalesce(
+                             dc:date-format('yyyyMMdd', $stop_time),
+                             '99999999'))
                            &gt; $start">
           <dc:call-macro name="hist_discharge_factory"/>
         </dc:filter>

http://dive4elements.wald.intevation.org