From 24f41879bff8dbecf06e04321790c3c39a1bf5d6 Mon Sep 17 00:00:00 2001 From: Willem Dantuma Date: Tue, 3 Mar 2020 16:32:25 +0100 Subject: [PATCH] Fix query --- projects/common-map/src/fm-map/reducers/map.reducer.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/common-map/src/fm-map/reducers/map.reducer.ts b/projects/common-map/src/fm-map/reducers/map.reducer.ts index c40759e..d0d3c0a 100644 --- a/projects/common-map/src/fm-map/reducers/map.reducer.ts +++ b/projects/common-map/src/fm-map/reducers/map.reducer.ts @@ -240,6 +240,7 @@ export function reducer(state = initialState, action: mapActions.Actions | commo case mapActions.DOQUERY: { let a = action as mapActions.DoQuery; return tassign(state, { + setStateCount:state.setStateCount+1, query: tassign(a.query, { bbox: a.query.bboxFilter ? state.viewExtent : [] })}); } case mapActions.ADDFEATURESUCCESS: {