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

Sort order from ArcGIS Pro isn't working #102

Closed jkerr5 closed 5 years ago

jkerr5 commented 6 years ago

This is what we are getting from Pro and it doesn’t work:

http://localhost:9080/marklogic/facilities/FeatureServer/0/query?where=1=1&orderByFields=%27Bed_Count%20ASC,%20OBJECTID%20ASC%27&resultRecordCount=200&outFields=*

Take out the %27s and it does work:

http://localhost:9080/marklogic/facilities/FeatureServer/0/query?where=1=1&orderByFields=Bed_Count%20ASC,OBJECTID%20ASC&resultRecordCount=200&outFields=*

jkerr5 commented 5 years ago

It was actually the space char in between the two order-by fields and not the surrounding quotes.

Filed https://github.com/koopjs/FeatureServer/issues/116 to fix this

jkerr5 commented 5 years ago

Resolved via koopjs/FeatureServer#116