changeset 6114:b3c5a5f38066

Order flow velocity values by station.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 28 May 2013 11:14:25 +0200
parents b79b400d5de1
children 613c1e14ba28
files backend/src/main/java/org/dive4elements/river/model/FlowVelocityModelValue.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/model/FlowVelocityModelValue.java	Mon May 27 17:10:49 2013 +0200
+++ b/backend/src/main/java/org/dive4elements/river/model/FlowVelocityModelValue.java	Tue May 28 11:14:25 2013 +0200
@@ -154,7 +154,8 @@
             "from FlowVelocityModelValue where " +
             "   flowVelocity=:model and" +
             "   station >= :kmLo and " +
-            "   station <= :kmHi");
+            "   station <= :kmHi" +
+            "   order by station");
 
         query.setParameter("model", model);
         query.setParameter("kmLo", new BigDecimal(kmLo));

http://dive4elements.wald.intevation.org