[PATCH] Datacage: order WSTs according to column numbers in import files

Wald Commits scm-commit at wald.intevation.org
Thu Nov 20 11:27:20 CET 2014


# HG changeset patch
# User "Tom Gottfried <tom at intevation.de>"
# Date 1416479230 -3600
# Node ID 1ba3032cdfe22131898a652d12b81eaad5cbf70a
# Parent  3f505fba522fdb731c3362561bbcea1e4406a492
Datacage: order WSTs according to column numbers in import files.

diff -r 3f505fba522f -r 1ba3032cdfe2 artifacts/doc/conf/meta-data.xml
--- a/artifacts/doc/conf/meta-data.xml	Tue Nov 18 15:24:40 2014 +0100
+++ b/artifacts/doc/conf/meta-data.xml	Thu Nov 20 11:27:10 2014 +0100
@@ -3103,6 +3103,7 @@
             JOIN wst_ranges wr ON wc.id = wr.wst_column_id
           WHERE w.river_id = ${river_id} AND
             NOT((${tokm} < wr.a) or (${fromkm} > wr.b))
+            ORDER BY wst_column_position
         </dc:statement>
         <dc:macro-body/>
       </dc:context>


More information about the Dive4Elements-commits mailing list