changeset 1324:212fe0cfd694 release-2.5

Use correct ort to generate probe.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 24 Mar 2017 11:59:19 +0100 (2017-03-24)
parents 22c9bbb88d1a
children 46aa15c8cfb2
files src/main/java/de/intevation/lada/factory/ProbeFactory.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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) {
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)