Commit f6768db4 authored by Matija Obreza's avatar Matija Obreza

Fix: NPE in downloadKml (genesys-ui#56)

parent 1d315600
......@@ -398,7 +398,7 @@ public class AccessionController {
FilterInfo<AccessionFilter> filterInfo = shortFilterService.processFilter(filterCode, filter, AccessionFilter.class);
AccessionGeoFilter geoFilter = filterInfo.filter.geo;
if (geoFilter == null) {
filter.geo = geoFilter = new AccessionGeoFilter();
filterInfo.filter.geo = geoFilter = new AccessionGeoFilter();
}
geoFilter.referenced = true;
......
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