Skip to content

Commit

Permalink
#1107 fix filter spec change
Browse files Browse the repository at this point in the history
  • Loading branch information
sting009 committed Mar 6, 2019
1 parent 05b4495 commit 7861929
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -598,8 +598,8 @@ export class DatasourceService extends AbstractService {
}

let spatialFilter = new SpatialFilter();
spatialFilter.dataSource = layer.ref;
spatialFilter.ref = layer.ref;
spatialFilter.dataSource = query.shelf.layers[idx].ref;
spatialFilter.ref = query.shelf.layers[idx].ref;
spatialFilter.field = layer.field.name;
// 최초 default 값 sales-geo 초기값으로 고정 (빈값일 경우 에러리턴)
spatialFilter.lowerCorner = _.isUndefined(chart['lowerCorner']) ? '-123.0998 25.4766' : chart['lowerCorner'];
Expand Down

0 comments on commit 7861929

Please sign in to comment.