changeset 7860:f4dffc7d1d60

Order porosities by station.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 08 May 2014 13:45:23 +0200
parents 57bd0a586a9b
children c288309a5dcb
files artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/PorosityFactory.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/PorosityFactory.java	Wed Apr 30 15:29:50 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/PorosityFactory.java	Thu May 08 13:45:23 2014 +0200
@@ -33,7 +33,8 @@
         "SELECT pv.station AS station, pv.porosity AS porosity " +
         "   FROM porosity p" +
         "       JOIN porosity_values pv on pv.porosity_id = p.id" +
-        "   WHERE p.id = :porosity_id";
+        "   WHERE p.id = :porosity_id" +
+        "   ORDER BY station";
 
     private PorosityFactory() {
     }

http://dive4elements.wald.intevation.org