How to reproduce:
- Zoom in in a map tab in server side faceted search
- Go to table view and submit a new search
- Go back to the map tap. It will still be zoomed in, and you won't see the new results outside the map bounds.
The zoom level will be reset if you search while the map tab is selected. When you are in table view, "action"/"reason" in fetchResults is undefined, preventing the zoom level from resetting:
|
reason === 'facetUpdate' && |
How to reproduce:
The zoom level will be reset if you search while the map tab is selected. When you are in table view, "action"/"reason" in fetchResults is undefined, preventing the zoom level from resetting:
sampo-ui/src/client/reducers/general/helpers.js
Line 9 in f407d14