Commit e706e71b authored by Matija Obreza's avatar Matija Obreza

BUG: Invalid filter passed to ZIP download

parent e87c421f
......@@ -242,7 +242,7 @@ public class WiewsController extends BaseController {
// Create JSON filter
final ObjectNode jsonTree = mapper.createObjectNode();
final ArrayNode arr = jsonTree.putArray("instCode");
final ArrayNode arr = jsonTree.putArray("institute.code");
arr.add(faoInstitute.getCode());
// Write Darwin Core Archive to the stream.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment