[Lada-commits] [PATCH] Use correct ort to generate probe
Wald Commits
scm-commit at wald.intevation.org
Fri Mar 24 11:59:50 CET 2017
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1490353159 -3600
# Branch release-2.5
# Node ID 212fe0cfd69489d2ff63155fb3c5ca21e285fc1e
# Parent 22c9bbb88d1a8c533520ac83eac2a46f09e36876
Use correct ort to generate probe.
diff -r 22c9bbb88d1a -r 212fe0cfd694 src/main/java/de/intevation/lada/factory/ProbeFactory.java
--- a/src/main/java/de/intevation/lada/factory/ProbeFactory.java Thu Mar 23 12:17:06 2017 +0100
+++ b/src/main/java/de/intevation/lada/factory/ProbeFactory.java Fri Mar 24 11:59:19 2017 +0100
@@ -381,6 +381,7 @@
new QueryBuilder<OrtszuordnungMp>(
repository.entityManager("land"),
OrtszuordnungMp.class);
+ builderOrt.and("messprogrammId", messprogramm.getId());
List<OrtszuordnungMp> orte =
repository.filterPlain(builderOrt.getQuery(), "land");
for (OrtszuordnungMp ort : orte) {
More information about the Lada-commits
mailing list