Mercurial > lada > lada-server
changeset 1287:3383ca19f7a5
Fixed query to find ort by staat.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 08 Feb 2017 12:01:07 +0100 |
parents | 7da497d142a2 |
children | d73cfd90ffc0 |
files | src/main/java/de/intevation/lada/factory/OrtFactory.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/factory/OrtFactory.java Wed Feb 08 09:18:32 2017 +0100 +++ b/src/main/java/de/intevation/lada/factory/OrtFactory.java Wed Feb 08 12:01:07 2017 +0100 @@ -147,7 +147,7 @@ ort.getStaatId() != 0 ) { logger.debug("has staat"); - builder.and("staatId", ort.getGemId()); + builder.and("staatId", ort.getStaatId()); builder.and("ozId", ort.getOzId()); builder.and("netzbetreiberId", ort.getNetzbetreiberId()); List<Ort> orte = repository.filterPlain(builder.getQuery(), "stamm");