[Dive4elements-commits] [PATCH] Fix distinction for kilometrage

Wald Commits scm-commit at wald.intevation.org
Thu Apr 4 10:56:15 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1365065772 -7200
# Node ID 9840c2e65e28788c90433368601f07a084fdba34
# Parent  38713f32a785c0669d3cc638ee877552d1b0e7bb
Fix distinction for kilometrage.

diff -r 38713f32a785 -r 9840c2e65e28 flys-artifacts/doc/conf/meta-data.xml
--- a/flys-artifacts/doc/conf/meta-data.xml	Thu Apr 04 10:40:01 2013 +0200
+++ b/flys-artifacts/doc/conf/meta-data.xml	Thu Apr 04 10:56:12 2013 +0200
@@ -989,7 +989,7 @@
           <dc:macro name="flood-map-km">
             <dc:context>
               <dc:statement>
-                SELECT id FROM river_axes_km WHERE river_id = ${river_id}
+                SELECT DISTINCT 1 FROM river_axes_km WHERE river_id = ${river_id}
               </dc:statement>
                <dc:for-each>
                   <kilometrage factory="wmskmfactory" ids="{$river_id}"/>


More information about the Dive4elements-commits mailing list