changeset 189:e9e83fa2a4ae

Fixed URL parameters.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 01 Jul 2013 14:15:00 +0200
parents bc8e6d6f5eb1
children bf7488ec0e8d
files src/main/java/de/intevation/lada/rest/LProbeService.java
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/rest/LProbeService.java	Mon Jul 01 12:46:25 2013 +0200
+++ b/src/main/java/de/intevation/lada/rest/LProbeService.java	Mon Jul 01 14:15:00 2013 +0200
@@ -123,16 +123,16 @@
                 return repository.filter(builder.getQuery());
             }
             QueryBuilder<LProbeInfo> mstBuilder = builder.getEmptyBuilder();
-            if (params.keySet().contains("mst")) {
-                String[] paramValues = params.getFirst("mst").split(",");
+            if (params.keySet().contains("mstId")) {
+                String[] paramValues = params.getFirst("mstId").split(",");
                 for (String pv: paramValues) {
                     mstBuilder.or("mstId", pv);
                 }
                 builder.and(mstBuilder);
             }
             QueryBuilder<LProbeInfo> umwBuilder = builder.getEmptyBuilder();
-            if (params.keySet().contains("uwb")) {
-                String[] paramValues = params.getFirst("uwb").split(",");
+            if (params.keySet().contains("umwId")) {
+                String[] paramValues = params.getFirst("umwId").split(",");
                 for (String pv: paramValues) {
                     umwBuilder.or("umwId", pv);
                 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)