koopjs / koop-provider-marklogic

A Koop Provider that can be used to exposed data in MarkLogic via Esri feature services
https://koopjs.github.io/koop-provider-marklogic/
Other
6 stars 11 forks source link

DEVEXP-206: Now supporting auth via a basic header #209

Closed BillFarber closed 1 year ago

BillFarber commented 1 year ago

I found that setting "data.filtersApplied.all = true", after the data has been retrieved from MarkLogic, prevents the filtering from happening (which prevents the null values from being ordered incorrectly).

However, setting that value all the time causes quite a few tests to fail. Additionally, it's conceivable that it would change current behavior that users don't want changed.

So, I propose a new query param, "skipFiltering". When that param is set to true, then data.filtersApplied.all is set to true, and the filtering step is skipped and the null values are sorted as expected.

Thoughts?

BillFarber commented 1 year ago

Closing this PR because it's not quite what we want. I've opened an issue with KoopJS instead: https://github.com/koopjs/koop/issues/468