[Dive4elements-commits] [PATCH] Datacage: Fixed wrong variable access in meta-data.xml
Wald Commits
scm-commit at wald.intevation.org
Sat May 25 16:11:57 CEST 2013
# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1369491109 -7200
# Node ID c21bfa65394220129bedb526e203ca8b34e830d8
# Parent a02d27da17ca2c93c595e9a6d8b195274d846dc7
Datacage: Fixed wrong variable access in meta-data.xml
diff -r a02d27da17ca -r c21bfa653942 artifacts/doc/conf/meta-data.xml
--- a/artifacts/doc/conf/meta-data.xml Sat May 25 08:14:56 2013 +0200
+++ b/artifacts/doc/conf/meta-data.xml Sat May 25 16:11:49 2013 +0200
@@ -2012,14 +2012,16 @@
ids="{$river_id};{$kind_name};{$kind_id}"/>
</dc:for-each>
</dc:filter>
- <dc:filter expr="kind_id!=1">
- <other>
- <dc:for-each>
- <floody factory="wmsfloodplainfactory"
- description="{$layer_name}"
- ids="{$river_id};{$layer_name};{$kind_id}"/>
- </dc:for-each>
- </other>
+ <dc:filter expr="$kind_id != 1">
+ <dc:if test="dc:has-result()">
+ <other>
+ <dc:for-each>
+ <floody factory="wmsfloodplainfactory"
+ description="{$layer_name}"
+ ids="{$river_id};{$layer_name};{$kind_id}"/>
+ </dc:for-each>
+ </other>
+ </dc:if>
</dc:filter>
</floodplain>
</dc:if>
@@ -2405,14 +2407,16 @@
ids="{$river_id};{$kind_name};{$kind_id}"/>
</dc:for-each>
</dc:filter>
- <dc:filter expr="kind_id=0">
- <other>
- <dc:for-each>
- <misc-qps description="{$layer_name}"
- factory="wmsqpsfactory"
- ids="{$river_id};{$layer_name};{$kind_id}"/>
- </dc:for-each>
- </other>
+ <dc:filter expr="$kind_id = 0">
+ <dc:if test="dc:has-result()">
+ <other>
+ <dc:for-each>
+ <misc-qps description="{$layer_name}"
+ factory="wmsqpsfactory"
+ ids="{$river_id};{$layer_name};{$kind_id}"/>
+ </dc:for-each>
+ </other>
+ </dc:if>
</dc:filter>
</qps>
</dc:if>
More information about the Dive4elements-commits
mailing list