diff artifacts/doc/conf/meta-data.xml @ 7666:c36aae57ad43

Order by year in sediment yield datacage.
author Tom Gottfried <tom.gottfried@intevation.de>
date Fri, 06 Dec 2013 14:27:03 +0100
parents 6d39b4066c91
children a6363e080e2c
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml	Fri Dec 06 13:58:27 2013 +0100
+++ b/artifacts/doc/conf/meta-data.xml	Fri Dec 06 14:27:03 2013 +0100
@@ -1451,7 +1451,7 @@
             WHERE   r.id = ${river_id}
                 AND ti.stop_time IS NULL
                 AND syv.station BETWEEN ${fromkm} AND ${tokm}
-            ORDER BY fraction
+            ORDER BY fraction, year DESC
         </dc:statement>
         <dc:call-macro name="loads">
           <dc:call-macro name="one-load"/>
@@ -1475,7 +1475,7 @@
             WHERE   r.id = ${river_id}
                 AND ti.stop_time IS NOT NULL
                 AND syv.station BETWEEN ${fromkm} AND ${tokm}
-            ORDER BY fraction
+            ORDER BY fraction, startyear DESC, endyear DESC
         </dc:statement>
         <dc:call-macro name="loads">
           <dc:call-macro name="epoch-load"/>

http://dive4elements.wald.intevation.org