Commit ece9006c9e6d6329cc27f10d3e4f52a382fc9412
1 parent
0be39b76
Exists in
master
bugFix bad query format.
Showing
2 changed files
with
4 additions
and
2 deletions
Show diff stats
src/main/java/eu/omp/irap/vespa/epntapclient/votable/controller/VOTableController.java
... | ... | @@ -134,8 +134,8 @@ public class VOTableController implements VOTableViewListener { |
134 | 134 | SortedMap<String, String> parameters = new TreeMap<>(); |
135 | 135 | parameters.put("REQUEST", Consts.QUERY_REQUEST); |
136 | 136 | parameters.put("LANG", Consts.QUERY_LANG); |
137 | - parameters.put("FORMAT", query); | |
138 | - | |
137 | + parameters.put("FORMAT", Consts.QUERY_FORMAT); | |
138 | + parameters.put("QUERY", query); | |
139 | 139 | Network.sendQuery(url, parameters, voTablePath); |
140 | 140 | return voTablePath; |
141 | 141 | } | ... | ... |
src/main/java/eu/omp/irap/vespa/epntapclient/votable/utils/Consts.java