[PATCH 1 of 2] issue1512: Show all flowvelocity facet in former calc. flow vel. part of dc

Wald Commits scm-commit at wald.intevation.org
Wed Oct 30 15:09:55 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1383141206 -3600
# Node ID 4d47c42eecae70934afaa61b6dc4da8ce2f88802
# Parent  79e5bb70fc48bb7523ce029c009315b48f01d14a
issue1512: Show all flowvelocity facet in former calc. flow vel. part of dc.

diff -r 79e5bb70fc48 -r 4d47c42eecae artifacts/doc/conf/meta-data.xml
--- a/artifacts/doc/conf/meta-data.xml	Wed Oct 30 12:24:03 2013 +0100
+++ b/artifacts/doc/conf/meta-data.xml	Wed Oct 30 14:53:26 2013 +0100
@@ -939,10 +939,7 @@
 
     <dc:macro name="flow-velocity">
       <dc:filter expr="$out_name = 'flow_velocity' and
-        ($facet_name = 'flow_velocity.totalchannel' or
-         $facet_name = 'flow_velocity.mainchannel' or
-         $facet_name = 'flow_velocity.totalchannel.filtered' or
-         $facet_name = 'flow_velocity.mainchannel.filtered')">
+              starts-with($facet_name, 'flow_velocity')">
         <dc:if test="dc:has-result()">
           <flow_velocity>
             <dc:call-macro name="collection-group">


More information about the Dive4elements-commits mailing list