[PATCH] Allow differentiating between units of sediment sources/sinks in annotation types also in datacage

Wald Commits scm-commit at wald.intevation.org
Wed Jun 4 12:22:05 CEST 2014


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1401877321 -7200
# Node ID 06aca4e889b92f104e9766b4bd2e63683b50c734
# Parent  28c403ec0a27c1c9ad564b2abd73612aa1d0d990
Allow differentiating between units of sediment sources/sinks in annotation types also in datacage.

diff -r 28c403ec0a27 -r 06aca4e889b9 artifacts/doc/conf/meta-data.xml
--- a/artifacts/doc/conf/meta-data.xml	Wed Jun 04 11:16:52 2014 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Wed Jun 04 12:22:01 2014 +0200
@@ -1564,7 +1564,7 @@
             SELECT id   AS anno_id,
                    name AS anno_description
             FROM annotation_types
-	    WHERE name IN ('Quelle', 'Senke')
+	    WHERE name LIKE 'Quelle%' OR name LIKE 'Senke%'
           </dc:statement>
           <dc:for-each>
             <annotation name="{$anno_description}"


More information about the Dive4Elements-commits mailing list