changeset 5548:9840c2e65e28

Fix distinction for kilometrage.
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 04 Apr 2013 10:56:12 +0200
parents 38713f32a785
children 0e5c17c7cfc4
files flys-artifacts/doc/conf/meta-data.xml
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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}"/>

http://dive4elements.wald.intevation.org