changeset 8473:1ba3032cdfe2

Datacage: order WSTs according to column numbers in import files.
author "Tom Gottfried <tom@intevation.de>"
date Thu, 20 Nov 2014 11:27:10 +0100
parents 3f505fba522f
children 2bc7bfd89fa8
files artifacts/doc/conf/meta-data.xml
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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} &lt; wr.a) or (${fromkm} &gt; wr.b))
+            ORDER BY wst_column_position
         </dc:statement>
         <dc:macro-body/>
       </dc:context>

http://dive4elements.wald.intevation.org