-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed #2210 #2327 fixed synch tool and cql_filter creation #2426
Fixed #2210 #2327 fixed synch tool and cql_filter creation #2426
Conversation
…cql_filter creation
# Conflicts: # web/client/epics/featuregrid.js
…dates # Conflicts: # web/client/utils/__tests__/FilterUtils-test.js
return Rx.Observable.of(addFilterToWMSLayer(layerId, reprojectFilterInNativeCrs(filter, objLayer.nativeCrs))); | ||
} | ||
return Rx.Observable.of(addFilterToWMSLayer(layerId, filter)); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think here a takeUntil is needed to stop monitoring.
What if you stop and sync and change filter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it does not reach this point because in the merge function it checks if the sync is active or is being activated in that moment.
Description
Cql Filter was wrongly created if a spatial filter was present. the crs was not the native one of the layer
Also for 0 value in numeric editors creates problem and the use of ID and other attributes.
Issues
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x", remove the others)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior?
Actually the layer is correctly filtered in the three cases and for all their combinations.
Does this PR introduce a breaking change? (check one with "x", remove the other)
Other information:
For testing this try to draw a spatial filter and then activate the sync. the features should be filtered based on the drawn spatial filter.
NOTE: ID and all reserved keyword must be wrapped by "" in order to parse correctly the cql_filter parameter