[PATCH 1 of 5] Order porosities by station
Wald Commits
scm-commit at wald.intevation.org
Thu May 8 13:52:54 CEST 2014
# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1399549523 -7200
# Node ID f4dffc7d1d60f94bd7db1d75a1141bf9066c3ef5
# Parent 57bd0a586a9b8734013a90230bf95cdc978cf6ba
Order porosities by station.
diff -r 57bd0a586a9b -r f4dffc7d1d60 artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/PorosityFactory.java
--- 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() {
}
More information about the Dive4Elements-commits
mailing list